Browse Source

scripts: sysinit: accept apt questions

Do not interactively request confirmation of packet installations
master
Jonathan Golder 3 years ago
parent
commit
b5ebab9977
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      scripts/sysinit.sh

+ 2
- 2
scripts/sysinit.sh 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

Loading…
Cancel
Save