Skip to content

Commit

Permalink
Use Cloudflare DNS
Browse files Browse the repository at this point in the history
  • Loading branch information
mnencia committed Mar 4, 2022
1 parent 1cddf12 commit 32d43b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/host/templates/userdata.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ runcmd:
- [ sed, -i, 's#DHCLIENT_SET_HOSTNAME="yes"#DHCLIENT_SET_HOSTNAME="no"#g', /etc/sysconfig/network/dhcp]

# We set Google DNS servers
- [ sed, -i, 's#NETCONFIG_DNS_STATIC_SERVERS=""#NETCONFIG_DNS_STATIC_SERVERS="8.8.8.8 8.8.4.4"#g', /etc/sysconfig/network/config]
- [ sed, -i, 's#NETCONFIG_DNS_STATIC_SERVERS=""#NETCONFIG_DNS_STATIC_SERVERS="1.1.1.1 1.0.0.1"#g', /etc/sysconfig/network/config]

# Bound the amount of logs that can survive on the system
- [ sed, -i, 's/#SystemMaxUse=/SystemMaxUse=3G/g', /etc/systemd/journald.conf]
Expand Down

0 comments on commit 32d43b5

Please sign in to comment.