echo $MIRROR_LIST > /etc/apt/sources.list
fi
-if [ -n "$RECONFIGURE" ] ; then
- for package in $RECONFIGURE ; do
- dpkg --list $package && dpkg-reconfigure $package || echo "Warning: $package does not exist, can not reconfigure it."
- done
-fi
-
# install additional packages
if [ "$PACKAGES" = 'yes' ] ; then
if ! [ -r /etc/debootstrap/packages ] ; then
fi
fi
+if [ -n "$RECONFIGURE" ] ; then
+ for package in $RECONFIGURE ; do
+ dpkg --list $package && dpkg-reconfigure $package || echo "Warning: $package does not exist, can not reconfigure it."
+ done
+fi
+
# set password of user root
-# shadowconfig
+echo "Activating shadow passwords."
+shadowconfig on
+echo "Setting password for user root:"
passwd
if ! [ -f /etc/hosts ] ; then