Skip to content

Commit

Permalink
Command sync between README and run-k8s-istio-openstack-full-demo.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Feb 6, 2019
1 parent 65dc175 commit d184126
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Install necessary software into the Docker container:

```bash
apt update -qq
apt-get install -y -qq apt-transport-https curl firefox git gnupg jq openssh-client siege unzip vim > /dev/null
apt-get install -y -qq apt-transport-https curl firefox git gnupg jq openssh-client psmisc siege sudo unzip vim > /dev/null
```

Install `kubernetes-client` package - (`kubectl`):
Expand Down Expand Up @@ -98,7 +98,7 @@ Generate ssh keys if not exists:
test -f $HOME/.ssh/id_rsa || ( install -m 0700 -d $HOME/.ssh && ssh-keygen -b 2048 -t rsa -f $HOME/.ssh/id_rsa -q -N "" )
# ssh-agent must be running...
test -n "$SSH_AUTH_SOCK" || eval `ssh-agent`
ssh-add
if [ "`ssh-add -l`" = "The agent has no identities." ]; then ssh-add; fi
```

Clone this git repository:
Expand Down
6 changes: 3 additions & 3 deletions run-k8s-istio-openstack-full-demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ clear

### Please run these commands before running the script

# mkdir /tmp/test && cd /tmp/test
# OPENSTACK_PASSWORD="my_secret_password"
# docker run -it -rm -e DISPLAY=$DISPLAY -e OPENSTACK_PASSWORD=$OPENSTACK_PASSWORD -v /home/$USER/.ssh:/root/.ssh:ro -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/mnt ubuntu
# apt update -qq && apt install -qq -y curl git psmisc pv sudo > /dev/null
# mkdir /tmp/test && cd /tmp/test
# docker run -it -rm -e DISPLAY=$DISPLAY -e OPENSTACK_PASSWORD=$OPENSTACK_PASSWORD -e SSH_AUTH_SOCK=/ssh-agent -v $SSH_AUTH_SOCK:/ssh-agent -v /home/$USER/.ssh:/root/.ssh:ro -v /tmp/.X11-unix:/tmp/.X11-unix -v $PWD:/mnt ubuntu
# apt-get update -qq && apt-get install -qq -y curl git pv > /dev/null
# git clone https://github.com/ruzickap/k8s-istio-demo && cd k8s-istio-demo
# ./run-k8s-istio-openstack-full-demo.sh

Expand Down

0 comments on commit d184126

Please sign in to comment.