new version with QEMU

This commit is contained in:
Vyacheslav Anzhiganov 2016-05-17 02:12:52 +03:00
parent 0619e2498b
commit 9191d7710b

View file

@ -140,7 +140,7 @@ 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 /tmp/libvirt/images/%s/boot.sh" % hostname, "r")
os.popen("cp vm/firstboot.sh /tmp/libvirt/%s/boot.sh" % hostname, "r")
return True