From 2b9452cfa10e43a8c8ea579689d7ccffe51d85fd Mon Sep 17 00:00:00 2001 From: Sonny Date: Sat, 17 Jun 2017 21:47:51 +0200 Subject: [PATCH] Ask password on the end --- scripts/create_container | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/create_container b/scripts/create_container index a7215d7..a59fb11 100755 --- a/scripts/create_container +++ b/scripts/create_container @@ -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 {