diff options
author | Sam Chudnick <sam@chudnick.com> | 2021-12-26 15:30:30 -0500 |
---|---|---|
committer | Sam Chudnick <sam@chudnick.com> | 2021-12-26 15:30:30 -0500 |
commit | 60579864900ad86b240374c352610fb6505b6a7b (patch) | |
tree | b7751dde176e138261a6900539d7a9507c39eb15 | |
parent | d08942c77812d4893b260f5693f974507ee49a7c (diff) |
Added option for virtual machines
-rw-r--r-- | deploy.conf | 1 | ||||
-rw-r--r-- | install.sh | 4 |
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 |
@@ -28,6 +28,10 @@ apt update -y | |||
28 | apt install "$(cat packages.base)" -y | 28 | apt install "$(cat packages.base)" -y |
29 | apt install "$(cat packages.custom)" -y | 29 | apt 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 |
32 | ufw default deny incoming | 36 | ufw default deny incoming |
33 | ufw default allow outgoing | 37 | ufw default allow outgoing |