From 7296fa8863afaa08b3368cf0be041f77f98ce4b4 Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Tue, 3 Dec 2024 17:19:21 -0800 Subject: [PATCH] Fix leap install test (#11379) Signed-off-by: Derek Nola --- tests/install/opensuse-leap/Vagrantfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/install/opensuse-leap/Vagrantfile b/tests/install/opensuse-leap/Vagrantfile index 78c5b1f75f..a8aca76432 100644 --- a/tests/install/opensuse-leap/Vagrantfile +++ b/tests/install/opensuse-leap/Vagrantfile @@ -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 '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 - 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| k3s.installer_url = 'file:///home/vagrant/install.sh' k3s.args = %w[server]