Skip to content

Commit

Permalink
Fix bug in mixedos e2e test
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <[email protected]>
  • Loading branch information
manuelbuil committed Jun 25, 2024
1 parent f9aa70b commit 9e29efc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/mixedos/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def provision(vm, role, role_num, node_num)
# 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.env = install_type
rke2.config_mode = '0644' # side-step https://github.com/k3s-io/k3s/issues/4321
# rke2.skip_start = true
rke2.config = <<~YAML
Expand Down
4 changes: 2 additions & 2 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 @@ -100,7 +100,7 @@ def provision(vm, role, role_num, node_num)
# 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.env = install_type
rke2.config_mode = '0644' # side-step https://github.com/k3s-io/k3s/issues/4321
# rke2.skip_start = true
rke2.config = <<~YAML
Expand Down

0 comments on commit 9e29efc

Please sign in to comment.