From b02970cb5e42073b27416d27331eb13c6d2a3956 Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Sat, 19 Mar 2022 21:59:39 +0100 Subject: [PATCH] fix k3s-selinux filecon error --- modules/host/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/host/main.tf b/modules/host/main.tf index 1fd12451..be7637d3 100644 --- a/modules/host/main.tf +++ b/modules/host/main.tf @@ -69,7 +69,7 @@ resource "hcloud_server" "server" { provisioner "remote-exec" { inline = [ "set -ex", - "transactional-update pkg install -y k3s-selinux" + "transactional-update shell <<< 'rpm --import https://rpm.rancher.io/public.key;zypper install -y https://github.com/k3s-io/k3s-selinux/releases/download/v0.5.stable.1/k3s-selinux-0.5-1.sle.noarch.rpm'" ] }