[virt-tools-list] [PATCH v4 5/5] Fix test xml for Virtuozzo containers

Mikhail Feoktistov mfeoktistov at virtuozzo.com
Mon Mar 13 12:01:54 UTC 2017


Privnet feature and emulator device have no sense for vz containers
Add VNC graphics by default
---
 tests/cli-test-xml/compare/virt-install-vz-ct-template.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/tests/cli-test-xml/compare/virt-install-vz-ct-template.xml b/tests/cli-test-xml/compare/virt-install-vz-ct-template.xml
index e9e4b05..2f291a3 100644
--- a/tests/cli-test-xml/compare/virt-install-vz-ct-template.xml
+++ b/tests/cli-test-xml/compare/virt-install-vz-ct-template.xml
@@ -8,11 +8,7 @@
     <type arch="x86_64">exe</type>
     <init>/sbin/init</init>
   </os>
-  <features>
-    <privnet/>
-  </features>
   <devices>
-    <emulator>vz</emulator>
     <filesystem type="template">
       <source name="centos-7-x86_64"/>
       <target dir="/"/>
@@ -21,6 +17,7 @@
       <source network="Bridged"/>
       <mac address="00:11:22:33:44:55"/>
     </interface>
+    <graphics type="vnc" port="-1" keymap="en-us"/>
     <console type="pty"/>
   </devices>
 </domain>
-- 
2.9.3




More information about the virt-tools-list mailing list