From f08030705d7ca743a25448fefba7d7a556e63abf Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Thu, 16 Jun 2016 10:47:36 -0700 Subject: [PATCH] Override files on unzip --- rancher-k8s-images/k8s/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rancher-k8s-images/k8s/entry.sh b/rancher-k8s-images/k8s/entry.sh index e3001d96d0157..2e22d125513b0 100755 --- a/rancher-k8s-images/k8s/entry.sh +++ b/rancher-k8s-images/k8s/entry.sh @@ -8,7 +8,7 @@ if [ -n "$ACTION" ]; then mkdir -p /etc/kubernetes/ssl cd /etc/kubernetes/ssl curl -s -u $CATTLE_ACCESS_KEY:$CATTLE_SECRET_KEY -X POST $ACTION > certs.zip - unzip certs.zip + unzip -o certs.zip cd $OLDPWD cat > /etc/kubernetes/ssl/kubeconfig << EOF