From ad63439a3e038aec06bfbedb6b846f9b99bcd230 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 (based on commit 3ef2fd1784edc1cd0eb48becb664596269346c0d) --- 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 691a5b915d..d9dcf6a601 100644 --- a/src/runtime/pkg/katautils/config.go +++ b/src/runtime/pkg/katautils/config.go @@ -1250,6 +1250,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",