merge dl-chmod-mv commands - save time

pull/196/head
nullpunkt5 2017-08-17 13:12:07 +01:00
parent f9486b081f
commit a0a181c276
2 changed files with 12 additions and 12 deletions

View File

@ -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
```

View File

@ -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
```