scripts: sysinit: accept apt questions

Do not interactively request confirmation of packet installations
This commit is contained in:
2018-12-07 16:56:20 +01:00
parent 578fa5c092
commit b5ebab9977
+2 -2
View File
@@ -29,7 +29,7 @@ AUTHKEYFILE="${HOME}/.ssh/authorized_keys"
# Install ssh-server
sudo apt-get update
sudo apt-get install openssh-server
sudo apt-get -y install openssh-server
# Configure public key
# Make sure user's ssh config dir exist
@@ -43,5 +43,5 @@ if [[ ! -f "$AUTHKEYFILE" ]] || ! grep -q "$KEY" "$AUTHKEYFILE"; then
fi
# Install spice-vdagent
sudo apt-get install spice-vdagent
sudo apt-get -y install spice-vdagent