Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
katautils: fix the issue of shimv2 boot failed with vsock enabled
Browse files Browse the repository at this point in the history
shimv2 missed to enable vsock in KataAgentConfig.

Fixes: #1037

Signed-off-by: Fupan Li <lifupan@gmail.com>
  • Loading branch information
lifupan committed Dec 17, 2018
1 parent bcf995b commit 573b73e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkg/katautils/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,10 @@ func updateConfig(configPath string, tomlConf tomlConfig, config *oci.RuntimeCon
config.ProxyType = vc.KataBuiltInProxyType
config.ShimType = vc.KataBuiltInShimType
config.AgentType = vc.KataContainersAgent
config.AgentConfig = vc.KataAgentConfig{LongLiveConn: true}
config.AgentConfig = vc.KataAgentConfig{
LongLiveConn: true,
UseVSock: config.HypervisorConfig.UseVSock,
}
}

return nil
Expand Down

0 comments on commit 573b73e

Please # to comment.