From 30e33ddab52638999bba3ee03a56938f00e83e56 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 1 Mar 2024 12:09:52 +0100 Subject: [PATCH] silence netplan warnings --- vagrant/boxes.d/00-ubuntu.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vagrant/boxes.d/00-ubuntu.yaml b/vagrant/boxes.d/00-ubuntu.yaml index 79d92469b..ef8667adb 100644 --- a/vagrant/boxes.d/00-ubuntu.yaml +++ b/vagrant/boxes.d/00-ubuntu.yaml @@ -42,6 +42,9 @@ boxes: # Work around external nameservers in generic/ubuntu2204 # https://github.com/lavabit/robox/issues/11 sed -i 's/\(addresses:\).\+/\1 []/' /etc/netplan/01-netcfg.yaml + # Work around netplan configs having too open permissions + # https://github.com/lavabit/robox/issues/296 + chmod 600 /etc/netplan/*.yaml netplan generate netplan apply sed -i 's/^\(DNS=\)/#\1/' /etc/systemd/resolved.conf