Skip to content
Snippets Groups Projects
Commit f5fe46a4 authored by Eric Cano's avatar Eric Cano
Browse files

Fixed mixed sudo usage and script modes.

parent 7b0619c2
No related branches found
No related tags found
No related merge requests found
File mode changed from 100644 to 100755
......@@ -50,9 +50,9 @@ perl -p -i -e 's/<%= \@dns_domainname -%>/'"${dns_domainname}"'/' ${dnspoddir}/p
perl -p -i -e 's/<%= \@my_ipaddress -%>/'"${docker_ipaddress}"'/' ${dnspoddir}/pod-dns.yaml
perl -p -i -e 's/<%= \@upper_level_dns -%>/'"${upper_level_dns}"'/' ${dnspoddir}/pod-dns.yaml
kubectl create -f .DNS/kube-system_ns.yaml
kubectl create -f ${dnspoddir}/dns-svc.yaml
kubectl create -f ${dnspoddir}/pod-dns.yaml
sudo kubectl create -f .DNS/kube-system_ns.yaml
sudo kubectl create -f ${dnspoddir}/dns-svc.yaml
sudo kubectl create -f ${dnspoddir}/pod-dns.yaml
rm -rf ${dnspoddir}
......
File mode changed from 100644 to 100755
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment