aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create5
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