Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions vagrant-pxe-airgap-harvester/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down Expand Up @@ -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,
Expand Down
3 changes: 0 additions & 3 deletions vagrant-pxe-harvester/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down Expand Up @@ -91,7 +89,6 @@ 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
Expand Down