File: virt-xml-edit-simple-network.xml

package info (click to toggle)
virt-manager 1%3A1.4.0-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 15,368 kB
  • ctags: 6,267
  • sloc: python: 39,151; xml: 14,807; makefile: 14; sh: 6
file content (17 lines) | stat: -rw-r--r-- 540 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
       <source dir="/foo/bar"/>
       <target dir="/bar/baz"/>
     </filesystem>
-    <interface type="network">
-      <mac address="22:22:33:54:32:10"/>
-      <source network="default"/>
+    <interface type="bridge">
+      <source bridge="br0"/>
       <target dev="testnet0"/>
-      <model type="e1000"/>
+      <model type="virtio"/>
     </interface>
     <interface type="bridge">
       <mac address="22:00:00:44:aa:bf"/>

Domain 'test-for-virtxml' defined successfully.
Changes will take effect after the next domain shutdown.