mirror of
https://github.com/getcompanion-ai/computer-host.git
synced 2026-04-15 03:00:42 +00:00
fix: cgroup version
This commit is contained in:
parent
47e806a705
commit
3585531d30
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,6 @@ func buildSDKConfig(spec MachineSpec, paths machinePaths, network NetworkAllocat
|
|||
}
|
||||
|
||||
cfg := sdk.Config{
|
||||
SocketPath: paths.SocketName,
|
||||
KernelImagePath: spec.KernelImagePath,
|
||||
KernelArgs: strings.TrimSpace(spec.KernelArgs),
|
||||
Drives: drives.Build(),
|
||||
|
|
@ -68,6 +67,7 @@ func buildSDKConfig(spec MachineSpec, paths machinePaths, network NetworkAllocat
|
|||
JailerBinary: jailerBinaryPath,
|
||||
ChrootBaseDir: paths.JailerBaseDir,
|
||||
ChrootStrategy: sdk.NewNaiveChrootStrategy(filepath.Clean(spec.KernelImagePath)),
|
||||
CgroupVersion: "2",
|
||||
},
|
||||
VMID: string(spec.ID),
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue