Fix resolved config on Debian
Currently, file /etc/systemd/resolved.conf.d/openstack-ansible.conf has incorrect format and is being ignored: ``` systemd-resolved[740]: /etc/systemd/resolved.conf.d/openstack-ansible.conf:2: Missing '=', ignoring line. ``` Change-Id: I23529b0dd032cbb6ba59acc3d3b668c06847da08
This commit is contained in:
parent
bd011b0eee
commit
56d69ce9e8
@ -52,6 +52,6 @@ update-locale LANG={{ locale }}
|
||||
# Set the IP of the lxcbr0 interface as the DNS server
|
||||
mkdir -p /etc/systemd/resolved.conf.d
|
||||
echo "[Resolve]" > /etc/systemd/resolved.conf.d/openstack-ansible.conf
|
||||
echo "{{ lxc_net_address }}" >> /etc/systemd/resolved.conf.d/openstack-ansible.conf
|
||||
echo "DNS={{ lxc_net_address }}" >> /etc/systemd/resolved.conf.d/openstack-ansible.conf
|
||||
systemctl enable systemd-networkd
|
||||
{{ lxc_cache_prep_post_commands }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user