diff --git a/boxes/debian/lxc-template b/boxes/debian/lxc-template index 3b0f8fc..ea46245 100755 --- a/boxes/debian/lxc-template +++ b/boxes/debian/lxc-template @@ -16,7 +16,7 @@ configure_debian() { rootfs=$1 hostname=$2 - release=$3 + release=$2 # squeeze only has /dev/tty and /dev/tty0 by default, # therefore creating missing device nodes for tty1-4. @@ -322,7 +322,7 @@ if [ $? -ne 0 ]; then exit 1 fi -configure_debian $rootfs "vagrant-debian-${release}" $release +configure_debian $rootfs $release if [ $? -ne 0 ]; then echo "failed to configure debian $release for a container" exit 1