From 60579864900ad86b240374c352610fb6505b6a7b Mon Sep 17 00:00:00 2001 From: Sam Chudnick Date: Sun, 26 Dec 2021 15:30:30 -0500 Subject: Added option for virtual machines --- deploy.conf | 1 + install.sh | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/deploy.conf b/deploy.conf index c40a12f..98046b3 100644 --- a/deploy.conf +++ b/deploy.conf @@ -3,6 +3,7 @@ # Configuration file for deployment script #$BACKPORTS=1 +#$VM=1 #$AMDCPU=1 #$INTELCPU=1 #$AMDGPU=1 diff --git a/install.sh b/install.sh index 1844b4a..08e7de6 100644 --- a/install.sh +++ b/install.sh @@ -28,6 +28,10 @@ apt update -y apt install "$(cat packages.base)" -y apt install "$(cat packages.custom)" -y +# For virtual machines + +[ -n $VM ] && apt install spice-vdagent xserver-xorg-video-qxl -y + # basic configuration of ufw ufw default deny incoming ufw default allow outgoing -- cgit v1.2.3