Use key(and password-)less SSH authentication

This commit is contained in:
Tobias Brunner
2013-01-17 15:22:09 +01:00
parent beff82dd98
commit 18bce26ea6
6 changed files with 18 additions and 67 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ execute "mount -o bind $CACHEDIR $APTCACHE"
echo " * Running debootstrap ..."
execute "debootstrap --arch=$ROOTFSARCH --include=$PACKAGES $ROOTFSSUITE $LOOPDIR $ROOTFSMIRROR"
echo " * Setting root password to '$ROOTFSPW' ..."
echo root:$ROOTFSPW | chroot $LOOPDIR chpasswd
echo " * Disabling root password ..."
chroot $LOOPDIR passwd -d root
echo " * Disabling services ..."
for service in $SERVICES