Browse Source

added option for extra packages

toastie89 3 months ago
parent
commit
af47c90725
2 changed files with 4 additions and 1 deletions
  1. 3 1
      bootstrap-bullseye.sh
  2. 1 0
      config.sh.template

+ 3 - 1
bootstrap-bullseye.sh

@@ -31,6 +31,7 @@ netBroadcast="203.0.113.255"
 netDNS1="192.0.2.10"
 netDNS2="198.51.100.10"
 netNTP="pool.ntp.org"
+extraPackages=""
 
 [ -f ./config.sh ] && source config.sh
 
@@ -128,7 +129,8 @@ apt-get install --yes \
   iproute2 netbase \
   ssh sudo molly-guard  \
   less vim-tiny bash-completion pwgen lsof \
-  dnsutils iputils-ping curl
+  dnsutils iputils-ping curl \
+  $extraPackages
 
 # Upgrade and clean up
 apt-get upgrade --yes

+ 1 - 0
config.sh.template

@@ -12,3 +12,4 @@ netDNS2="198.51.100.10"
 netNTP="pool.ntp.org"
 pwdAdmin=""                  # "" blank for auto-generation
 pwdRoot=""                   # "" blank for auto-generation
+extraPackages="qemu-guest-agent"