From: Michele Tartara Date: Thu, 11 Jul 2013 10:18:20 +0000 (+0200) Subject: Clear the root password X-Git-Url: http://git.equinoxoli.org/?p=ext%2Finstance-debootstrap.git;a=commitdiff_plain;h=2b5fddd2c2319305b27833c51c81459544a10d63 Clear the root password Debootstrap used to leave the instances without a root password set, making the first login quite hard. This commits changes the situation, by setting an empty root password (as already stated by the documentation). Signed-off-by: Michele Tartara Reviewed-by: Klaus Aehlig --- diff --git a/create b/create index 0105022..442667c 100755 --- a/create +++ b/create @@ -113,6 +113,9 @@ else fi fi +# reset the root password +chroot $TMPDIR passwd -d root + cp -p /etc/hosts $TMPDIR/etc/hosts cp -p /etc/resolv.conf $TMPDIR/etc/resolv.conf echo $instance > $TMPDIR/etc/hostname