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:
Damian Dabrowski 2024-01-05 12:24:51 +01:00
parent bd011b0eee
commit 56d69ce9e8
1 changed files with 1 additions and 1 deletions

View File

@ -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 }}