4 Commits c099c2fdc9 ... 2faddbfe12

Author SHA1 Message Date
  Toastie 2faddbfe12 fixed permissions 2 months ago
  Toastie 4ef0334c08 added qemu-utils, added admin to libvirt 2 months ago
  Toastie 9882e0f475 added bridge-utils 2 months ago
  Toastie 7487bb4df2 append configuration 2 months ago
3 changed files with 8 additions and 7 deletions
  1. 4 5
      bootstrap-bookworm.sh
  2. 2 1
      install_docker.sh
  3. 2 1
      install_kvm.sh

+ 4 - 5
bootstrap-bookworm.sh

@@ -190,13 +190,13 @@ esac
 apt-get update
 export DEBIAN_FRONTEND=noninteractive
 apt-get install --yes \
-  apt-utils dialog file msmtp-mta \
-  systemd-sysv polkitd locales tzdata haveged \
+  apt-utils dialog msmtp-mta \
+  systemd-sysv locales tzdata haveged \
   $kernelPkg $grubPkg \
   iproute2 netbase \
-  ssh sudo molly-guard \
+  ssh sudo molly-guard  \
   less vim-tiny bash-completion pwgen lsof \
-  dnsutils iputils-ping pciutils curl wget bzip2 \
+  dnsutils iputils-ping curl \
   $extraPackages
 
 # Upgrade and clean up
@@ -266,7 +266,6 @@ systemctl enable systemd-resolved
 # Limit journald logging to 1 month, 1 GB in total and split files per week
 mkdir -p /etc/systemd/journald.conf.d/
 cat >/etc/systemd/journald.conf.d/retention.conf <<EOL
-[Journal]
 MaxRetentionSec=1month
 SystemMaxUse=1G
 MaxFileSec=1week

+ 2 - 1
install_docker.sh

@@ -51,7 +51,8 @@ usermod --append --groups docker admin
 #
 # Check configuration: docker info | grep Base
 # Check configuration: docker network inspect bridge | grep Subnet
-cat >/etc/docker/daemon.json <<EOL
+touch /etc/docker/daemon.json
+cat >>/etc/docker/daemon.json <<EOL
 {
   "log-driver": "journald",
   "bip": "172.17.0.1/22",

+ 2 - 1
install_kvm.sh

@@ -1,8 +1,9 @@
 #!/bin/bash
 
 # Install KVM
+# bridge-utils are not required but useful for debugging
 apt-get install --no-install-recommends \
-                qemu-system qemu-utils libvirt-clients libvirt-daemon-system ovmf
+                qemu-system qemu-utils libvirt-clients libvirt-daemon-system ovmf bridge-utils
                 
                 
 # Remove virbr0 NAT interface created during the kvm installation