Skip to content

Commit

Permalink
Merge pull request #1550 from janfrederik/feat/remove-double-reload-o…
Browse files Browse the repository at this point in the history
…f-networkmanager

Remove superfluous reload of NetworkManager in cloudinit
  • Loading branch information
mysticaltech authored Dec 23, 2024
2 parents 78225c3 + 4cfeab0 commit d3fc32c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1036,11 +1036,6 @@ cloudinit_runcmd_common = <<EOT
# Disable rebootmgr service as we use kured instead
- [systemctl, disable, '--now', 'rebootmgr.service']
%{if length(var.dns_servers) > 0}
# Set the dns manually
- [systemctl, 'reload', 'NetworkManager']
%{endif}
# Bounds the amount of logs that can survive on the system
- [sed, '-i', 's/#SystemMaxUse=/SystemMaxUse=3G/g', /etc/systemd/journald.conf]
- [sed, '-i', 's/#MaxRetentionSec=/MaxRetentionSec=1week/g', /etc/systemd/journald.conf]
Expand Down

0 comments on commit d3fc32c

Please sign in to comment.