Ask password on the end

This commit is contained in:
Sonny 2017-06-17 21:47:51 +02:00
parent ca7d893784
commit 2b9452cfa1

View file

@ -40,12 +40,12 @@ function create_container {
echo "Installing vim & git"
systemd-nspawn -D $CONTAINER_PATH apt-get -y install vim git
echo "Starting container first time, enter root pass"
systemd-nspawn -D $CONTAINER_PATH passwd
if [ "$DOTFILES" == "y" ] ;then
dotfiles $CONTAINER_PATH
fi
echo "Starting container first time, enter root pass"
systemd-nspawn -D $CONTAINER_PATH passwd
}
function add_ssh {