Merge "k8s-fcos: Source bashrc for clusterconfig" into stable/victoria

This commit is contained in:
Zuul 2021-03-02 13:09:14 +00:00 committed by Gerrit Code Review
commit 8968754cb4
2 changed files with 3 additions and 1 deletions

View File

@ -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"

View File

@ -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: