scripts: sysinit: accept apt questions
Do not interactively request confirmation of packet installations
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user