Downloading OVMF causes issues with libvirt

The parent box is already downloading the OVMF firmware.
Just use the firmware that is already downloaded.

Signed-off-by: Manohar Castelino <manohar.r.castelino@intel.com>
This commit is contained in:
Manohar Castelino
2019-02-12 16:14:06 -08:00
committed by Ganesh Maharaj Mahalingam
parent a43f9bd3de
commit ac79ef38c5
-5
View File
@@ -22,10 +22,6 @@ proxy_ip_list = ""
#DISK_UUID = Time.now.utc.to_i
driveletters = ('a'..'z').to_a
if not File.exists?($loader)
system('curl -O https://download.clearlinux.org/image/OVMF.fd')
end
# We need v 1.0.14 or above for this vagrantfile to work.
unless Vagrant.has_plugin?("vagrant-guests-clearlinux")
system "vagrant plugin install vagrant-guests-clearlinux"
@@ -63,7 +59,6 @@ Vagrant.configure("2") do |config|
c.vm.hostname = vm_name
c.vm.network :private_network, ip: ip, autostart: true
c.vm.provider :libvirt do |lv|
lv.loader = $loader
lv.cpu_mode = "host-passthrough"
lv.nested = true
lv.cpus = $cpus