k8s-fcos: Source bashrc for clusterconfig
During the reshuffling of bash fragments, we missed sourcing bashrc which contains the location of kubeconfig. Fix addition of /srv/magnum/bin to PATH. story: 2007591 task: 39938 Change-Id: I238f7e2a1cbcb696a51880fb6ea75ea0a7ce6288 Signed-off-by: Spyros Trigazis <spyridon.trigazis@cern.ch>
This commit is contained in:
parent
2d49b25496
commit
2c93427d49
|
@ -31,6 +31,7 @@ do
|
|||
done
|
||||
echo "INFO Installed kubectl."
|
||||
|
||||
echo "PATH=/srv/magnum/bin:\$PATH" >> /etc/bashrc
|
||||
echo "export PATH=/srv/magnum/bin:\$PATH" >> /etc/bashrc
|
||||
export PATH=/srv/magnum/bin:$PATH
|
||||
|
||||
printf "Finished running ${step}\n"
|
||||
|
|
|
@ -1308,6 +1308,7 @@ resources:
|
|||
- "\n"
|
||||
-
|
||||
- "#!/bin/bash"
|
||||
- "source /etc/bashrc"
|
||||
- get_file: ../../common/templates/kubernetes/fragments/kube-apiserver-to-kubelet-role.sh
|
||||
- get_file: ../../common/templates/kubernetes/fragments/core-dns-service.sh
|
||||
- if:
|
||||
|
|
Loading…
Reference in New Issue