diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2022-05-16 13:26:40 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2022-05-16 13:26:40 -0300 |
commit | 074b303236172221872cd950537cfd527b1ca7bb (patch) | |
tree | a9d9efe9188cba5111583570645233bfbfd37364 /kvmx-create | |
parent | 097d9cab62c7b10da81f0a683287d611f977c85e (diff) | |
download | kvmx-074b303236172221872cd950537cfd527b1ca7bb.tar.gz kvmx-074b303236172221872cd950537cfd527b1ca7bb.tar.bz2 |
Fix(kvmx-create): do not install spice-vdagent and qemu-guest-agent if spice is disabled
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index aa4d493..e2cd6ab 100755 --- a/kvmx-create +++ b/kvmx-create @@ -451,7 +451,10 @@ EOF # Basic packages $APT_INSTALL screen cron lsb-release openssl rsync - $APT_INSTALL spice-vdagent qemu-guest-agent + + if [ "$spice" == "1" ]; then + $APT_INSTALL spice-vdagent qemu-guest-agent + fi # OpenSSH $APT_INSTALL openssh-server -y |