]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fixes to the ubuntu template
authorWillem Meier <wilhelm.meier@fh-kl.de>
Wed, 2 Jun 2010 13:18:17 +0000 (15:18 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Wed, 2 Jun 2010 13:18:17 +0000 (15:18 +0200)
 - Make /var/run not a tmpfs
 - Generate and update locales
 - Be less verbose
 - Remove apt-utils package

Signed-off-by: Willem Meier <wilhelm.meier@fh-kl.de>
Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
scripts/lxc-ubuntu.in

index 835da0a20524b4cfd4f8ba798c9e1d3e19f4b9df..ab3dbb46855539154e2f6815afcc8c301ce67bac 100644 (file)
@@ -59,9 +59,9 @@ description     "Container Upstart"
 start on startup
 
 script
-        rm -rf /var/run/*
-        /sbin/initctl emit stopped JOB=udevtrigger
-        /sbin/initctl emit started JOB=udev
+       rm -rf /var/run/*
+       /sbin/initctl emit stopped JOB=udevtrigger
+       /sbin/initctl emit started JOB=udev
 end script
 EOF
 
@@ -257,7 +257,7 @@ EOF
 
 options=$(getopt -o hp:n:c -l help,path:,name:,clean -- "$@")
 if [ $? -ne 0 ]; then
-        usage $(basename $0)
+       usage $(basename $0)
        exit 1
 fi
 eval set -- "$options"
@@ -265,12 +265,12 @@ eval set -- "$options"
 while true
 do
     case "$1" in
-        -h|--help)      usage $0 && exit 0;;
-        -p|--path)      path=$2; shift 2;;
+       -h|--help)      usage $0 && exit 0;;
+       -p|--path)      path=$2; shift 2;;
        -n|--name)      name=$2; shift 2;;
        -c|--clean)     clean=$2; shift 2;;
-        --)             shift 1; break ;;
-        *)              break ;;
+       --)             shift 1; break ;;
+       *)              break ;;
     esac
 done