From 2b5fddd2c2319305b27833c51c81459544a10d63 Mon Sep 17 00:00:00 2001 From: Michele Tartara Date: Thu, 11 Jul 2013 12:18:20 +0200 Subject: [PATCH] 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 --- create | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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 -- 1.7.2.5