Create /etc/rkt on startup

This commit is contained in:
Jonathan Wills 2015-09-04 11:58:48 -04:00
parent 05617a4583
commit 5d38a8f024

View File

@ -93,6 +93,7 @@ coreos:
EnvironmentFile=/etc/kube-env
ExecStartPre=/usr/bin/rm -rf /opt/rkt
ExecStartPre=/usr/bin/mkdir -p /opt/rkt
ExecStartPre=/usr/bin/mkdir -p /etc/rkt
ExecStartPre=/usr/bin/wget \
-O /opt/rkt/rkt-v${RKT_VERSION}.tar.gz \
https://github.com/coreos/rkt/releases/download/v${RKT_VERSION}/rkt-v${RKT_VERSION}.tar.gz