From d9c15efcf1c1e9a87f41a9b3ea70b79df537e12f Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Fri, 8 May 2015 17:04:13 +0200 Subject: use path --- .../etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb index d1034be..9d52a07 100644 --- a/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb +++ b/global/overlay/etc/puppet/modules/sunet/templates/cloudimage/mk_cloud_image.erb @@ -96,7 +96,7 @@ virsh pool-refresh default virsh vol-clone --pool default ${src_image} ${hostname}/${disk} -virt-install -r ${mem} -n ${hostname} --vcpus=${cpus} --autostart --memballoon virtio --network bridge=${bridge} --boot hd --disk vol=default/${hostname}/${disk},format=qcow2,bus=virtio --disk vol=default/${hostname}/${seed},bus=virtio +virt-install -r ${mem} -n ${hostname} --vcpus=${cpus} --autostart --memballoon virtio --network bridge=${bridge} --boot hd --disk path=/var/lib/libvirt/images/${hostname}/${disk},format=qcow2,bus=virtio --disk path=/var/lib/libvirt/images/${hostname}/${seed},bus=virtio rm -f ${user_data} rm -f ${meta_data} -- cgit v1.1