dns: update resolvconf command path

Ref: 94fb0ed84b
This commit is contained in:
Hoang Nguyen 2022-07-04 00:31:01 +07:00
parent 0063c13a4d
commit e85c23d954
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 3 additions and 2 deletions

View File

@ -67,6 +67,7 @@ $ sudo ansible-playbook -v setup.yml
- [ ] EFI secure boot
- [ ] /etc/security/access.conf (maybe?)
- [ ] snapper / btrbk (rootfs=btrfs)
- [ ] auditd
## 📄 License

View File

@ -12,7 +12,7 @@ iface {{ interface.name }} inet {{ interface.ip4_type }}
address {{ interface.ip4_addr }}
gateway {{ interface.ip4_gateway }}
{% endif %}
post-up /usr/sbin/resolvconf -u
post-up /sbin/resolvconf -u
iface {{ interface.name }} inet6 {{ interface.ip6_type }}
{% if interface.ip6_type == 'static' %}
@ -20,5 +20,5 @@ iface {{ interface.name }} inet6 {{ interface.ip6_type }}
gateway {{ interface.ip6_gateway }}
pre-up echo 0 > /proc/sys/net/ipv6/conf/{{ interface.name }}/accept_ra
{% endif %}
post-up /usr/sbin/resolvconf -u
post-up /sbin/resolvconf -u
{% endfor %}