summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2021-12-26 15:30:30 -0500
committerSam Chudnick <sam@chudnick.com>2021-12-26 15:30:30 -0500
commit60579864900ad86b240374c352610fb6505b6a7b (patch)
treeb7751dde176e138261a6900539d7a9507c39eb15
parentd08942c77812d4893b260f5693f974507ee49a7c (diff)
Added option for virtual machines
-rw-r--r--deploy.conf1
-rw-r--r--install.sh4
2 files changed, 5 insertions, 0 deletions
diff --git a/deploy.conf b/deploy.conf
index c40a12f..98046b3 100644
--- a/deploy.conf
+++ b/deploy.conf
@@ -3,6 +3,7 @@
3# Configuration file for deployment script 3# Configuration file for deployment script
4 4
5#$BACKPORTS=1 5#$BACKPORTS=1
6#$VM=1
6#$AMDCPU=1 7#$AMDCPU=1
7#$INTELCPU=1 8#$INTELCPU=1
8#$AMDGPU=1 9#$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
28apt install "$(cat packages.base)" -y 28apt install "$(cat packages.base)" -y
29apt install "$(cat packages.custom)" -y 29apt install "$(cat packages.custom)" -y
30 30
31# For virtual machines
32
33[ -n $VM ] && apt install spice-vdagent xserver-xorg-video-qxl -y
34
31# basic configuration of ufw 35# basic configuration of ufw
32ufw default deny incoming 36ufw default deny incoming
33ufw default allow outgoing 37ufw default allow outgoing