]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
action: Drop vm-vt workaround
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 1 Aug 2022 09:23:16 +0000 (11:23 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Mon, 1 Aug 2022 11:45:56 +0000 (13:45 +0200)
Jammy's systemd version is recent enough that the file is there
already and we don't need to add it ourselves anymore.

action.yaml

index 534092b788ebaf11900922089f15b35931c46b5c..092292be2d14632d695dd4366f6f939be8617c6a 100644 (file)
@@ -44,24 +44,6 @@ runs:
       sudo pacman-key --init
       sudo pacman-key --populate archlinux
 
-      sudo tee /etc/systemd/network/80-vm-vt.network > /dev/null <<- EOF
-      [Match]
-      Name=vt-*
-      Driver=tun
-
-      [Network]
-      # Default to using a /28 prefix, giving up to 13 addresses per VM.
-      Address=0.0.0.0/28
-      LinkLocalAddressing=yes
-      DHCPServer=yes
-      IPMasquerade=yes
-      LLDP=yes
-      EmitLLDP=customer-bridge
-      IPv6PrefixDelegation=yes
-      EOF
-
-      sudo systemctl restart systemd-networkd
-
     env:
       BUILDDIR: build