mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-31 16:36:38 +00:00
runtime: Initialize SharedFS for remote hypervisor
Sets SharedFS config to NoSharedFS for remote hypervisor in order to start the file watcher which syncs files from the host to the guest VMs. Signed-off-by: Silenio Quarti <silenio_quarti@ca.ibm.com>
This commit is contained in:
@@ -1341,6 +1341,7 @@ func newRemoteHypervisorConfig(h hypervisor) (vc.HypervisorConfig, error) {
|
||||
RemoteHypervisorSocket: h.getRemoteHypervisorSocket(),
|
||||
RemoteHypervisorTimeout: h.getRemoteHypervisorTimeout(),
|
||||
DisableGuestSeLinux: true, // The remote hypervisor has a different guest, so Guest SELinux config doesn't work
|
||||
SharedFS: config.NoSharedFS,
|
||||
|
||||
// No valid value so avoid to append block device to list in kata_agent.appendDevices
|
||||
BlockDeviceDriver: "dummy",
|
||||
|
Reference in New Issue
Block a user