[pve-devel] [PATCH container v2 2/2] tests: check format for multiple nameservers

Maximiliano Sandoval m.sandoval at proxmox.com
Thu Dec 18 16:01:25 CET 2025


Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 src/test/test-centos10-001/config                               | 2 +-
 .../etc/NetworkManager/system-connections/eth0.nmconnection.exp | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/test-centos10-001/config b/src/test/test-centos10-001/config
index c332df1..a461a88 100644
--- a/src/test/test-centos10-001/config
+++ b/src/test/test-centos10-001/config
@@ -1,4 +1,4 @@
 hostname: test1
 net0: bridge=vmbr0,name=eth0,ip=dhcp
 searchdomain: example.com
-nameserver: 127.0.0.1
+nameserver: 127.0.0.1,192.168.0.1
diff --git a/src/test/test-centos10-001/etc/NetworkManager/system-connections/eth0.nmconnection.exp b/src/test/test-centos10-001/etc/NetworkManager/system-connections/eth0.nmconnection.exp
index 3bf5d2d..d7d7499 100644
--- a/src/test/test-centos10-001/etc/NetworkManager/system-connections/eth0.nmconnection.exp
+++ b/src/test/test-centos10-001/etc/NetworkManager/system-connections/eth0.nmconnection.exp
@@ -5,7 +5,7 @@ type=ethernet
 interface-name=eth0
 [ipv4]
 method=auto
-dns=127.0.0.1
+dns=127.0.0.1;192.168.0.1
 dns-search=example.com
 [ipv6]
 method=disabled
-- 
2.47.3





More information about the pve-devel mailing list