发布时间:2019-08-13 07:40:02编辑:auto阅读(2633)
python管理虚拟机(创建,删除,重启)
libvirtAPI
uuidgen 生成 uuid
brctl show
brctl addif br0 eth0
xml 配置文件改 1.name 2.uuid 3.boot 4.dev='cdrom' 5.source file='/virtual/vm4.img'
virsh attach-disk vm4 /tmp/fdllsrc.iso hdc --type cdrom --mode readonly
上一篇: python学习步骤
下一篇: Python Day5
54474
41254
35795
31319
26224
25936
24438
20006
16015
15450
2366°
2157°
2249°
2376°
2332°
2544°
2490°
2313°
2380°
2356°