mirror of
https://git.vectorsigma.ru/public/k3s.git
synced 2026-08-08 20:49:40 +00:00
* Fix cluster validation and add upgrade cluster test (#5020) Signed-off-by: Shylaja Devadiga <shylaja@rancher.com> Co-authored-by: Derek Nola <derek.nola@suse.com> Signed-off-by: Derek Nola <derek.nola@suse.com> * Migrate Ginkgo testing framework to V2, consolidate integration tests (#5097) * Upgrade and convert ginkgo from v1 to v2 * Move all integration tests into integration folder * Update TESTING.md Signed-off-by: Derek Nola <derek.nola@suse.com> * E2E Test Improvements (#5102) * Fix infinite while loop on failure, reduce upgradecluster * DRY code Signed-off-by: Derek Nola <derek.nola@suse.com>
13 lines
479 B
Ruby
13 lines
479 B
Ruby
def defaultOSConfigure(vm)
|
|
if vm.box.include?("ubuntu2004")
|
|
vm.provision "shell", inline: "systemd-resolve --set-dns=8.8.8.8 --interface=eth0"
|
|
vm.provision "shell", inline: "apt install -y jq"
|
|
end
|
|
if vm.box.include?("Leap")
|
|
vm.provision "shell", inline: "zypper install -y jq"
|
|
end
|
|
if vm.box.include?("microos")
|
|
vm.provision "shell", inline: "transactional-update pkg install -y jq"
|
|
vm.provision 'reload', run: 'once'
|
|
end
|
|
end |