Skip to content

Commit

Permalink
silence netplan warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 1, 2024
1 parent c6531c7 commit 30e33dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vagrant/boxes.d/00-ubuntu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 30e33dd

Please sign in to comment.