Skip to content

Commit b02970c

Browse files
committed
fix k3s-selinux filecon error
1 parent e9f6ebe commit b02970c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/host/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ resource "hcloud_server" "server" {
6969
provisioner "remote-exec" {
7070
inline = [
7171
"set -ex",
72-
"transactional-update pkg install -y k3s-selinux"
72+
"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'"
7373
]
7474
}
7575

0 commit comments

Comments
 (0)