Commit 140a7727 authored by Karol Latecki's avatar Karol Latecki Committed by Tomasz Zawadzki
Browse files

scripts/vagrant: use IDE bus for Arch Linux VMs



The original image was prepared using SCSI bus.
Using IDE explicitly speeds up boot process as the
system does not have to look where to boot from.

Change-Id: Ia9f649d1c46c591135833c02ed60b3c960ad8b98
Signed-off-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2840


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 778312c8
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -179,6 +179,12 @@ Vagrant.configure(2) do |config|
      libvirt.disk_bus = "scsi"
    end

    # Run generic/arch boxes explicitly with IDE bus,
    # otherwise boot process fails on mounting the disk
    if (distro.include?("arch"))
      libvirt.disk_bus = "ide"
    end

    if not vmemulator.empty?
      libvirt.emulator_path = "#{vmemulator}"
      libvirt.machine_type = "pc"