[pve-devel] [PATCH 15/20] cloudinit: nameserver: match lxc format

Alexandre Derumier aderumier at odiso.com
Thu Jul 27 17:06:48 CEST 2017


From: Wolfgang Bumiller <w.bumiller at proxmox.com>

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 PVE/QemuServer.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 8e91bf2..c73039d 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -516,7 +516,7 @@ my $confdesc_cloudinit = {
     },
     nameserver => {
 	optional => 1,
-	type => 'string',
+	type => 'string', format => 'address-list',
 	description => "cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.",
     },
     sshkey => {
-- 
2.11.0




More information about the pve-devel mailing list