File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,13 @@ coreos:
9191 [Service]
9292 Type=oneshot
9393 EnvironmentFile=/etc/kube-env
94+ ExecStartPre=/usr/bin/rm -rf /opt/rkt
9495 ExecStartPre=/usr/bin/mkdir -p /opt/rkt
9596 ExecStartPre=/usr/bin/wget \
9697 -O /opt/rkt/rkt-v${RKT_VERSION}.tar.gz \
9798 https://github.com/coreos/rkt/releases/download/v${RKT_VERSION}/rkt-v${RKT_VERSION}.tar.gz
98- ExecStart=/usr/bin/tar xzvf /opt/rkt/rkt-v${RKT_VERSION}.tar.gz -C /opt --overwrite
99+ ExecStartPre=/usr/bin/tar xzvf /opt/rkt/rkt-v${RKT_VERSION}.tar.gz -C /opt --overwrite
100+ ExecStart=/usr/bin/mv /opt/rkt-v${RKT_VERSION} /opt/rkt/rkt
99101
100102 - name : kubernetes-install-minion.service
101103 command : start
@@ -200,4 +202,4 @@ coreos:
200202 After=kubernetes-install-rkt.service
201203 [Service]
202204 EnvironmentFile=/etc/kube-env
203- ExecStart=/opt/rkt-v${RKT_VERSION} /rkt metadata-service
205+ ExecStart=/opt/rkt/rkt metadata-service
You can’t perform that action at this time.
0 commit comments