Skip to content

Commit 5ffaf6b

Browse files
committed
chore(workflow): change runsc network to host
1 parent 5116edf commit 5ffaf6b

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

_scripts/install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,12 @@ function configure_runtime {
176176
177177
[plugins.cri.containerd.runtimes.runsc.options]
178178
SystemdCgroup = true
179+
TypeUrl = "io.containerd.runsc.v1.options"
180+
ConfigPath = "/var/lib/rancher/k3s/agent/etc/containerd/runsc.toml"
181+
EOF
182+
cat << EOF > "/var/lib/rancher/k3s/agent/etc/containerd/runsc.toml"
183+
[runsc_config]
184+
network = "host"
179185
EOF
180186
}
181187

0 commit comments

Comments
 (0)