Skip to content
Snippets Groups Projects
Commit 9e84fea4 authored by garciadav's avatar garciadav Committed by Mark Beierl
Browse files

Fix minor issue with permissions in Charmed Installer


Change-Id: I53068cdbfd15e357d25cb18c2c5435a69601824f
Signed-off-by: default avatarDavid Garcia <david.garcia@canonical.com>
parent 27885ca8
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ function check_arguments(){
function install_snaps(){
if [ ! -v KUBECFG ]; then
sudo snap install microk8s --classic --channel=${MICROK8S_VERSION}/stable
cat /var/snap/microk8s/current/args/kube-apiserver | grep advertise-address || (
sudo cat /var/snap/microk8s/current/args/kube-apiserver | grep advertise-address || (
echo "--advertise-address $DEFAULT_IP" | sudo tee -a /var/snap/microk8s/current/args/kube-apiserver
microk8s.stop
microk8s.start
......
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