Skip to content

Commit

Permalink
fix one-liner
Browse files Browse the repository at this point in the history
  • Loading branch information
tnaganawa committed May 10, 2019
1 parent 9661d8b commit 1528728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tungsten-Fabric-Centos-one-line-install-on-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,11 @@ This wiki will describe the most simplest of all: **A single yaml based install*

Note: Replace x.x.x.x with the IP of your Kubernetes Master node.

{% raw %}
```
K8S_MASTER_IP=x.x.x.x; CONTRAIL_REPO="docker.io\/opencontrailnightly"; CONTRAIL_RELEASE="latest"; mkdir -pm 777 /var/lib/contrail/kafka-logs; curl https://raw.githubusercontent.com/Juniper/contrail-kubernetes-docs/master/install/kubernetes/templates/contrail-single-step-cni-install-centos.yaml | sed "s/{{ K8S_MASTER_IP }}/$K8S_MASTER_IP/g; s/{{ CONTRAIL_REPO }}/$CONTRAIL_REPO/g; s/{{ CONTRAIL_RELEASE }}/$CONTRAIL_RELEASE/g" | kubectl apply -f -
```
{% endraw %}

## What just happened ?

Expand Down
2 changes: 2 additions & 0 deletions Tungsten-Fabric-Ubuntu-one-line-install-on-k8s.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ This wiki will describe the most simplest of all: **A single yaml based install*

Note: Replace x.x.x.x with the IP of your Kubernetes Master node.

{% raw %}
```
K8S_MASTER_IP=x.x.x.x; CONTRAIL_REPO="docker.io\/opencontrailnightly"; CONTRAIL_RELEASE="latest"; mkdir -pm 777 /var/lib/contrail/kafka-logs; curl https://raw.githubusercontent.com/Juniper/contrail-kubernetes-docs/master/install/kubernetes/templates/contrail-single-step-cni-install-ubuntu.yaml | sed "s/{{ K8S_MASTER_IP }}/$K8S_MASTER_IP/g; s/{{ CONTRAIL_REPO }}/$CONTRAIL_REPO/g; s/{{ CONTRAIL_RELEASE }}/$CONTRAIL_RELEASE/g" | kubectl apply -f -
```
{% endraw %}

## What just happened ?

Expand Down

0 comments on commit 1528728

Please sign in to comment.