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

Alexandre Derumier aderumier at odiso.com
Sun Jun 18 15:03:21 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 8698b8c..98f034c 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