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 <mtartara@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
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