mirror of https://github.com/k3s-io/k3s
parent
5bb3d82e27
commit
7296fa8863
|
@ -18,7 +18,8 @@ Vagrant.configure("2") do |config|
|
||||||
test.vm.provision "add-bin-path", type: "shell", inline: "echo \"export PATH=/usr/local/bin:\$PATH\" >> ~/.bashrc"
|
test.vm.provision "add-bin-path", type: "shell", inline: "echo \"export PATH=/usr/local/bin:\$PATH\" >> ~/.bashrc"
|
||||||
test.vm.provision 'k3s-upload', type: 'file', run: 'always', source: ENV['TEST_INSTALL_SH'], destination: 'install.sh'
|
test.vm.provision 'k3s-upload', type: 'file', run: 'always', source: ENV['TEST_INSTALL_SH'], destination: 'install.sh'
|
||||||
# /sbin/apparmor_parser is needed by the 1.21 kubelet if the value of /sys/module/apparmor/parameters/enabled is Y
|
# /sbin/apparmor_parser is needed by the 1.21 kubelet if the value of /sys/module/apparmor/parameters/enabled is Y
|
||||||
test.vm.provision 'k3s-prepare', type: 'shell', run: 'once', inline: 'zypper install -y apparmor-parser'
|
# Leap 15.6+ VM images are missing procps for some reason.
|
||||||
|
test.vm.provision 'k3s-prepare', type: 'shell', run: 'once', inline: 'zypper install -y apparmor-parser procps'
|
||||||
test.vm.provision 'k3s-install', type: 'k3s', run: 'once' do |k3s|
|
test.vm.provision 'k3s-install', type: 'k3s', run: 'once' do |k3s|
|
||||||
k3s.installer_url = 'file:///home/vagrant/install.sh'
|
k3s.installer_url = 'file:///home/vagrant/install.sh'
|
||||||
k3s.args = %w[server]
|
k3s.args = %w[server]
|
||||||
|
|
Loading…
Reference in New Issue