new version with QEMU

This commit is contained in:
Vyacheslav Anzhiganov 2016-05-17 02:11:48 +03:00
parent ed0d6e48ab
commit 0619e2498b

View file

@ -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