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

Alexandre Derumier aderumier at odiso.com
Tue May 23 08:57:13 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 f057641..fda76a4 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -517,7 +517,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