fix(install): update cache before installation
Signed-off-by: Rajesh Rajendran <rjshrjndrn@gmail.com>
This commit is contained in:
parent
cc744891ee
commit
24a6777cd1
1 changed files with 1 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ domain_name=`grep domain_name vars.yaml | grep -v "example" | cut -d " " -f2 | c
|
|||
}
|
||||
}
|
||||
|
||||
sudo apt update
|
||||
which docker &> /dev/null || {
|
||||
echo "docker is not installed. Installing it..."
|
||||
user=`whoami`
|
||||
|
|
@ -38,7 +39,6 @@ export KUBECONFIG=~/.kube/config
|
|||
sed -i "s#kubeconfig.*#kubeconfig_path: ${HOME}/.kube/config#g" vars.yaml
|
||||
|
||||
# Installing nfs common for NFS
|
||||
sudo apt update
|
||||
sudo apt install -y nfs-common
|
||||
|
||||
bash -x kube-install.sh $@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue