Revision e0f1ce56 example/instance-image.d/grub

b/example/instance-image.d/grub
35 35
trap cleanup EXIT
36 36

  
37 37
if [ "${IMAGE_TYPE}" != "tarball" ] ; then
38
    echo "Image type not \'tarball\', skipping setting up grub..."
38
    log_error "Image type not \'tarball\', skipping setting up grub..."
39 39
    exit 0
40 40
fi
41 41

  
42 42
if [ -z "${TARGET}" -o -d "${TARGET}" ] ; then
43
    echo "Missing target directory"
43
    log_error "Missing target directory"
44 44
    exit 1
45 45
fi
46 46

  

Also available in: Unified diff