new version with QEMU
This commit is contained in:
parent
ed0d6e48ab
commit
0619e2498b
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ class QEMU:
|
|||
)
|
||||
# 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")
|
||||
|
||||
return True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue