[pve-devel] [PATCH qemu-server 3/4] add searchdomain, nameserver && sshkey option

Alexandre Derumier aderumier at odiso.com
Fri Oct 6 16:49:13 CEST 2017


---
 PVE/QemuServer.pm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 6c41a57..19951d2 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -507,6 +507,23 @@ EODESCR
 	description => "Select BIOS implementation.",
 	default => 'seabios',
     },
+    searchdomain => {
+	optional => 1,
+	type => 'string',
+	description => "Sets DNS search domains. Create will automatically use the setting from the host if you neither set searchdomain or nameserver.",
+    },
+    nameserver => {
+	optional => 1,
+	type => 'string',
+	description => "Sets DNS server IP address. Create will automatically use the setting from the host if you neither set searchdomain or nameserver.",
+    },
+    sshkey => {
+	optional => 1,
+	type => 'string', format => 'urlencoded',
+	maxLength => 1024,
+	description => "Ssh keys for root",
+    },
+
 };
 
 # what about other qemu settings ?
-- 
2.11.0



More information about the pve-devel mailing list