Skip to content

Commit

Permalink
microcloud/test/includes: Fix OVN validator
Browse files Browse the repository at this point in the history
Signed-off-by: Max Asnaashari <[email protected]>
  • Loading branch information
masnax committed Apr 10, 2024
1 parent c45efaf commit 85557f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microcloud/test/includes/microcloud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ validate_system_lxd_ovn() {

# Check that the created UPLINK network has the right DNS servers.
if [ -n "${dns_namesersers}" ] ; then
dns_addresses=$(lxc exec "${name}" -- sh -c "lxc network get UPLINK dns.nameservers")
dns_addresses=$(lxc exec "local:${name}" -- sh -c "lxc network get UPLINK dns.nameservers")
if [ "${dns_addresses}" != "${dns_namesersers}" ] ; then
echo "ERROR: UPLINK network has wrong DNS server addresses: ${dns_addresses}"
return 1
Expand Down

0 comments on commit 85557f5

Please sign in to comment.