Skip to content

Commit 7671d79

Browse files
authored
Merge pull request #156 from polycube-network/pr/fix_k8s_vagrant_file
Vagrant: fix bad url and file name
2 parents 42d1066 + ab4b16e commit 7671d79

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/vagrant/pcn-k8s/Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $configureBox = <<-SCRIPT
6262
# ip of this box
6363
IP_ADDR=`ifconfig enp0s8 | grep mask | awk '{print $2}'| cut -f2 -d:`
6464
# set node-ip
65-
sudo sed -i "/^[^#]*KUBELET_EXTRA_ARGS=/c\KUBELET_EXTRA_ARGS=--node-ip=$IP_ADDR" /etc/default/kubelet
65+
sudo sed -i "/^[^#]*KUBELET_EXTRA_ARGS=/c\KUBELET_EXTRA_ARGS=--node-ip=$IP_ADDR" /var/lib/kubelet/kubeadm-flags.env
6666
sudo systemctl restart kubelet
6767
SCRIPT
6868

@@ -82,8 +82,8 @@ $configureMaster = <<-SCRIPT
8282
8383
# install PCN-K8S-CNI pod network addon
8484
export KUBECONFIG=/etc/kubernetes/admin.conf
85-
kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/src/components/k8s/standalone_etcd.yaml
86-
kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/src/components/k8s/pcn-k8s.yaml
85+
kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/standalone_etcd.yaml
86+
kubectl apply -f https://raw.githubusercontent.com/polycube-network/polycube/master/src/components/k8s/pcn-k8s.yaml
8787
8888
kubeadm token create --print-join-command > /etc/kubeadm_join_cmd.sh
8989
chmod +x /etc/kubeadm_join_cmd.sh

0 commit comments

Comments
 (0)