From a0a181c2760c0fec636e21d44eea4f6871187aaa Mon Sep 17 00:00:00 2001 From: nullpunkt5 Date: Thu, 17 Aug 2017 13:12:07 +0100 Subject: [PATCH] merge dl-chmod-mv commands - save time --- docs/02-certificate-authority.md | 16 ++++++++-------- docs/03-auth-configs.md | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/02-certificate-authority.md b/docs/02-certificate-authority.md index 09609b8..3e582ba 100644 --- a/docs/02-certificate-authority.md +++ b/docs/02-certificate-authority.md @@ -27,28 +27,28 @@ This lab requires the `cfssl` and `cfssljson` binaries. Download them from the [ ### OS X ``` -wget https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64 -chmod +x cfssl_darwin-amd64 +wget https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64 && \ +chmod +x cfssl_darwin-amd64 && \ sudo mv cfssl_darwin-amd64 /usr/local/bin/cfssl ``` ``` -wget https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64 -chmod +x cfssljson_darwin-amd64 +wget https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64 && \ +chmod +x cfssljson_darwin-amd64 && \ sudo mv cfssljson_darwin-amd64 /usr/local/bin/cfssljson ``` ### Linux ``` -wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -chmod +x cfssl_linux-amd64 +wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 && \ +chmod +x cfssl_linux-amd64 && \ sudo mv cfssl_linux-amd64 /usr/local/bin/cfssl ``` ``` -wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -chmod +x cfssljson_linux-amd64 +wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 && \ +chmod +x cfssljson_linux-amd64 && \ sudo mv cfssljson_linux-amd64 /usr/local/bin/cfssljson ``` diff --git a/docs/03-auth-configs.md b/docs/03-auth-configs.md index 3070391..5fb79c4 100644 --- a/docs/03-auth-configs.md +++ b/docs/03-auth-configs.md @@ -9,16 +9,16 @@ The kubectl client will be used to generate kubeconfig files which will be consu ### OS X ``` -wget https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/darwin/amd64/kubectl -chmod +x kubectl +wget https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/darwin/amd64/kubectl && \ +chmod +x kubectl && \ sudo mv kubectl /usr/local/bin ``` ### Linux ``` -wget https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl -chmod +x kubectl +wget https://storage.googleapis.com/kubernetes-release/release/v1.7.0/bin/linux/amd64/kubectl && \ +chmod +x kubectl && \ sudo mv kubectl /usr/local/bin ```