From 3ef2fd1784edc1cd0eb48becb664596269346c0d Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Tue, 20 Dec 2022 12:18:33 +0000 Subject: [PATCH] runtime: Update the remote hypervisor config Add the SELinux setting to ensure it is passed through to the remote hypervisor Fixes: #5936 Signed-off-by: stevenhorsman --- src/runtime/pkg/katautils/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/pkg/katautils/config.go b/src/runtime/pkg/katautils/config.go index 7ee50ea3d..a583ad27e 100644 --- a/src/runtime/pkg/katautils/config.go +++ b/src/runtime/pkg/katautils/config.go @@ -1071,6 +1071,7 @@ func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) { return vc.HypervisorConfig{ RemoteHypervisorSocket: h.RemoteHypervisorSocket, RemoteHypervisorTimeout: h.RemoteHypervisorTimeout, + DisableGuestSeLinux: h.DisableGuestSeLinux, // No valid value so avoid to append block device to list in kata_agent.appendDevices BlockDeviceDriver: "dummy",