diff --git a/vagrant-pxe-airgap-harvester/Vagrantfile b/vagrant-pxe-airgap-harvester/Vagrantfile index 4626731..079eeb8 100644 --- a/vagrant-pxe-airgap-harvester/Vagrantfile +++ b/vagrant-pxe-airgap-harvester/Vagrantfile @@ -39,7 +39,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| libvirt__dhcp_enabled: false pxe_server.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' libvirt.memory = '4096' libvirt.cpus = '2' end @@ -68,7 +67,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| libvirt__network_name: 'harvester', mac: @settings['rancher_config']['mac_address_harvester_network'] rancher_box.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' libvirt.memory = @settings['rancher_config']['memory'] libvirt.cpus = @settings['rancher_config']['cpu'] # libvirt.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio' @@ -106,7 +104,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| mac: @settings['harvester_network_config']['cluster'][node_number]['mac'] harvester_node.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' libvirt.memory = @settings['harvester_network_config']['cluster'][node_number].key?('memory') ? @settings['harvester_network_config']['cluster'][node_number]['memory'] : @settings['harvester_node_config']['memory'] libvirt.cpus = @settings['harvester_network_config']['cluster'][node_number].key?('cpu') ? @settings['harvester_network_config']['cluster'][node_number]['cpu'] : @settings['harvester_node_config']['cpu'] libvirt.storage :file, diff --git a/vagrant-pxe-harvester/Vagrantfile b/vagrant-pxe-harvester/Vagrantfile index f171a6c..4f41416 100644 --- a/vagrant-pxe-harvester/Vagrantfile +++ b/vagrant-pxe-harvester/Vagrantfile @@ -38,7 +38,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| libvirt__dhcp_enabled: false pxe_server.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' libvirt.memory = '1024' libvirt.cpus = '1' end @@ -62,7 +61,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| mac: @settings['harvester_network_config']['cluster'][node_number]['mac'] harvester_node.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' libvirt.memory = @settings['harvester_network_config']['cluster'][node_number].key?('memory') ? @settings['harvester_network_config']['cluster'][node_number]['memory'] : @settings['harvester_node_config']['memory'] libvirt.cpus = @settings['harvester_network_config']['cluster'][node_number].key?('cpu') ? @settings['harvester_network_config']['cluster'][node_number]['cpu'] : @settings['harvester_node_config']['cpu'] libvirt.storage :file, @@ -91,7 +89,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| libvirt__dhcp_enabled: false rancher.vm.provider :libvirt do |libvirt| - libvirt.cpu_mode = 'host-passthrough' + libvirt.cpus = @settings['rancher_config']['cpu'] libvirt.memory = @settings['rancher_config']['memory'] end