Ask password on the end
This commit is contained in:
parent
ca7d893784
commit
2b9452cfa1
1 changed files with 3 additions and 3 deletions
|
|
@ -40,12 +40,12 @@ function create_container {
|
||||||
echo "Installing vim & git"
|
echo "Installing vim & git"
|
||||||
systemd-nspawn -D $CONTAINER_PATH apt-get -y install 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
|
if [ "$DOTFILES" == "y" ] ;then
|
||||||
dotfiles $CONTAINER_PATH
|
dotfiles $CONTAINER_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Starting container first time, enter root pass"
|
||||||
|
systemd-nspawn -D $CONTAINER_PATH passwd
|
||||||
}
|
}
|
||||||
|
|
||||||
function add_ssh {
|
function add_ssh {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue