I am trying to use linchpin to create VMs with a blank harddisk. The VMs won't boot, except when a user will plug in a live cd. As a disk image, I am passing a url to a blank qcow image (that I prepared ahead of time with qemu-img create):
image_src: file:///tmp/blank-disk-132gb.qcow2
Linchpin still tried to run cloud-init, and to work around that I added:
cloud_config:
virt_type: do_nothing
But now it's failing on the ansible task waiting for the machine to get an IP... How can I create a blank VM and not even turn it on?
TASK [libvirt : mac_and_ip | wait up to 5 mins for dhcp ip address] *************************************************************************************************
FAILED - RETRYING: mac_and_ip | wait up to 5 mins for dhcp ip address (30 retries left).
FAILED - RETRYING: mac_and_ip | wait up to 5 mins for dhcp ip address (29 retries left).
FAILED - RETRYING: mac_and_ip | wait up to 5 mins for dhcp ip address (28 retries left).
I am trying to use linchpin to create VMs with a blank harddisk. The VMs won't boot, except when a user will plug in a live cd. As a disk image, I am passing a url to a blank qcow image (that I prepared ahead of time with qemu-img create):
image_src: file:///tmp/blank-disk-132gb.qcow2Linchpin still tried to run cloud-init, and to work around that I added:
But now it's failing on the ansible task waiting for the machine to get an IP... How can I create a blank VM and not even turn it on?