Use debian release as hostname when creating debian boxes

This commit is contained in:
Fabio Rehm 2013-05-05 11:27:54 -03:00
parent 53484d3caf
commit 878b701b65

View file

@ -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