Skip to content

Commit

Permalink
string replace
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Lin committed Jul 4, 2018
1 parent 7d0cf5a commit 037e2c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions developers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Vagrant.configure("2") do |config|
sudo apt-get install -y ntp
# Install Docker
# kubernetes official valid max version 17.03.2~ce-0~ubuntu-xenial
# kubernetes official max validated version: 17.03.2~ce-0~ubuntu-xenial
export DOCKER_VERSION="17.06.2~ce-0~ubuntu"
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Expand All @@ -48,7 +48,7 @@ Vagrant.configure("2") do |config|
# Should give flannel the real network interface name
wget --quiet https://raw.githubusercontent.com/coreos/flannel/v0.9.1/Documentation/kube-flannel.yml -O /tmp/kube-flannel.yml
sed -i -- "s/\"--kube-subnet-mgr\"/\"--kube-subnet-mgr\"\, \"--iface=$NET_IF_NAME\"/g" /tmp/kube-flannel.yml
sed -i -- 's/"--kube-subnet-mgr"/"--kube-subnet-mgr", "--iface='"$NET_IF_NAME"'"/g' /tmp/kube-flannel.yml
cat /tmp/kube-flannel.yml | grep iface
kubectl apply -f /tmp/kube-flannel.yml
Expand Down

0 comments on commit 037e2c5

Please sign in to comment.