Skip to content

Commit

Permalink
Cherry-pick 9526e4b - Remove TORCX_BINDIR from containerd binary call (
Browse files Browse the repository at this point in the history
  • Loading branch information
embik authored and ovstuckrad committed Feb 27, 2024
1 parent 41a076c commit abd28f7
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkg/containerruntime/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ cat <<EOF | tee /etc/systemd/system/containerd.service.d/10-machine-controller.c
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.24.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.24.9.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/cloud-init_v1.25.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/containerd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ write_files:
Restart=always
Environment=CONTAINERD_CONFIG=/etc/containerd/config.toml
ExecStart=
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} \${TORCX_BINDIR}/containerd --config \${CONTAINERD_CONFIG}
ExecStart=/usr/bin/env PATH=\${TORCX_BINDIR}:\${PATH} containerd --config \${CONTAINERD_CONFIG}
EOF
systemctl daemon-reload
Expand Down
2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.24.0.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.24.9.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pkg/userdata/flatcar/testdata/ignition_v1.25.0.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions pkg/userdata/flatcar/testdata/ignition_v1.26.6.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/userdata/flatcar/testdata/ignition_v1.28.5.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/userdata/flatcar/testdata/ignition_v1.29.0.json

Large diffs are not rendered by default.

0 comments on commit abd28f7

Please sign in to comment.