new version with QEMU
This commit is contained in:
parent
0619e2498b
commit
9191d7710b
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class QEMU:
|
||||||
# os.popen("cp /etc/vmbuilder/libvirt/* /tmp/libvirt/%s/templates/libvirt" % hostname)
|
# os.popen("cp /etc/vmbuilder/libvirt/* /tmp/libvirt/%s/templates/libvirt" % hostname)
|
||||||
|
|
||||||
# os.popen("cp vm/firstboot.sh /var/lib/qemu/images/%s/boot.sh" % hostname, "r")
|
# os.popen("cp vm/firstboot.sh /var/lib/qemu/images/%s/boot.sh" % hostname, "r")
|
||||||
os.popen("cp vm/firstboot.sh /tmp/libvirt/images/%s/boot.sh" % hostname, "r")
|
os.popen("cp vm/firstboot.sh /tmp/libvirt/%s/boot.sh" % hostname, "r")
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue