authoravatarclover caruso<git@paperclover.net>2026-11-23 22:56:22-08:00
committeravatarclover caruso<git@paperclover.net>2026-11-30 03:08:43-08:00
log555fb8f8ca12f00bc8c87a976ea3beecbfcb3496
treeef6dc28465f01c8cb9da895ce4e757375b8f6ac2
parent3f653a2992f3c98b9b144cb41d673c86bbfc49d6
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

ext-rachel: define the libvirt network only when it is missing

net-define fails on every switch once the network exists, which stopped the release before services activated. Assisted-by: claude-sonnet-5.5

2 files changed, 3 insertions(+), 3 deletions(-)

nixos/ext-rachel.nix+1-1
...@@ -45,7 +45,7 @@ in...@@ -45,7 +45,7 @@ in
45 serviceConfig = { Type = "oneshot"; RemainAfterExit = true; };45 serviceConfig = { Type = "oneshot"; RemainAfterExit = true; };
46 path = [ pkgs.libvirt ];46 path = [ pkgs.libvirt ];
47 script = ''47 script = ''
48 virsh net-define ${network}48 virsh net-info ext-rachel >/dev/null 2>&1 || virsh net-define ${network}
49 virsh net-autostart ext-rachel49 virsh net-autostart ext-rachel
50 virsh net-info ext-rachel | grep -q '^Active:.*yes' || virsh net-start ext-rachel50 virsh net-info ext-rachel | grep -q '^Active:.*yes' || virsh net-start ext-rachel
51 '';51 '';
nixos/knife-linux.Containerfile+2-2
...@@ -1,10 +1,10 @@...@@ -1,10 +1,10 @@
1FROM registry.fedoraproject.org/fedora:44@sha256:0d2a354dfdf7ba75083fe371eb6239842fe13f38c52d339dae1ebcf13c7c40621FROM registry.fedoraproject.org/fedora:44@sha256:0d2a354dfdf7ba75083fe371eb6239842fe13f38c52d339dae1ebcf13c7c4062
22
3# Development tools, plus Chromium, Xvfb and fonts for headless browser and Electron checks.3# Development tools (openssh-server serves `sg knife sshd`), plus Chromium, Xvfb and fonts for headless browser and Electron checks.
4RUN dnf -y install --setopt=install_weak_deps=False \4RUN dnf -y install --setopt=install_weak_deps=False \
5 bzip2 cargo clang cmake diffutils fd-find file findutils gcc gcc-c++ git glibc-gconv-extra \5 bzip2 cargo clang cmake diffutils fd-find file findutils gcc gcc-c++ git glibc-gconv-extra \
6 hostname ImageMagick iproute jq less libsecret-devel libxcrypt-compat lld lsof make neovim \6 hostname ImageMagick iproute jq less libsecret-devel libxcrypt-compat lld lsof make neovim \
7 openssh-clients openssl-devel patch procps-ng python3 ripgrep rsync rust tar time tree unzip \7 openssh-clients openssh-server openssl-devel patch procps-ng python3 ripgrep rsync rust tar time tree unzip \
8 which xz zip zlib-ng-compat-devel zsh \8 which xz zip zlib-ng-compat-devel zsh \
9 chromium fontconfig google-noto-sans-fonts google-noto-sans-mono-fonts google-noto-serif-fonts \9 chromium fontconfig google-noto-sans-fonts google-noto-sans-mono-fonts google-noto-serif-fonts \
10 liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts mesa-dri-drivers mesa-libGLES dbus-daemon \10 liberation-mono-fonts liberation-sans-fonts liberation-serif-fonts mesa-dri-drivers mesa-libGLES dbus-daemon \