Skip to content

Commit

Permalink
Fix e2e test bug in mixedosbgp
Browse files Browse the repository at this point in the history
Signed-off-by: manuelbuil <[email protected]>
  • Loading branch information
manuelbuil committed Sep 19, 2024
1 parent 0c83bc8 commit 5803fd0
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions tests/e2e/mixedosbgp/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def provision(vm, role, role_num, node_num)
install_type = "Version=#{RELEASE_VERSION}"
else
vm.provision "shell", path: "../scripts/latest_commit.ps1", args: [GITHUB_BRANCH, "./rke2_commits.txt"]
install_type = "-Commit=(Get-Content -TotalCount 1 ./rke2_commits.txt)"
install_type = "-Commit (Get-Content -TotalCount 1 ./rke2_commits.txt)"
end
else
if !RELEASE_VERSION.empty?
Expand Down Expand Up @@ -89,16 +89,6 @@ def provision(vm, role, role_num, node_num)
puts "invalid box: " + vm.box + " found for windows agent"
abort
end

# For Windows GUI on virtualbox
# vm.provider "virtualbox" do |v|
# v.gui = true
# v.customize ["modifyvm", :id, "--vram", 128]
# v.customize ["modifyvm", :id, "--clipboard", "bidirectional"]
# v.customize ["modifyvm", :id, "--accelerate3d", "on"]
# v.customize ["modifyvm", :id, "--accelerate2dvideo", "on"]
# end
# If using libvirt, use virt-viewer for GUI after bring up the node
vm.provision :rke2, run: 'once' do |rke2|
rke2.env = install_type
rke2.config_mode = '0644' # side-step https://github.com/k3s-io/k3s/issues/4321
Expand Down

0 comments on commit 5803fd0

Please sign in to comment.