mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-03 02:26:37 +00:00
katautils: fix the issue of shimv2 boot failed with vsock enabled
shimv2 missed to enable vsock in KataAgentConfig. Fixes: #1037 Signed-off-by: Fupan Li <lifupan@gmail.com>
This commit is contained in:
parent
bcf995bfe1
commit
573b73eb10
@ -709,7 +709,10 @@ func updateConfig(configPath string, tomlConf tomlConfig, config *oci.RuntimeCon
|
|||||||
config.ProxyType = vc.KataBuiltInProxyType
|
config.ProxyType = vc.KataBuiltInProxyType
|
||||||
config.ShimType = vc.KataBuiltInShimType
|
config.ShimType = vc.KataBuiltInShimType
|
||||||
config.AgentType = vc.KataContainersAgent
|
config.AgentType = vc.KataContainersAgent
|
||||||
config.AgentConfig = vc.KataAgentConfig{LongLiveConn: true}
|
config.AgentConfig = vc.KataAgentConfig{
|
||||||
|
LongLiveConn: true,
|
||||||
|
UseVSock: config.HypervisorConfig.UseVSock,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user