manage cwd better
This commit is contained in:
parent
5e8d26f05d
commit
ac041136e8
|
@ -1,8 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#exec 1 2>&1 | tee -a ${LOG_FILE}
|
|
||||||
|
|
||||||
# snap writes stuff under $CWD like a noob
|
|
||||||
cd /tmp
|
|
||||||
|
|
||||||
if which lsb_release; then
|
if which lsb_release; then
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
@ -11,6 +7,8 @@ if which lsb_release; then
|
||||||
apt-get -y install $(cat $(lsb_release -i -s)-$(lsb_release -r -s)-packages.txt)
|
apt-get -y install $(cat $(lsb_release -i -s)-$(lsb_release -r -s)-packages.txt)
|
||||||
|
|
||||||
# install kubectl
|
# install kubectl
|
||||||
|
# snap writes stuff under $CWD like a noob
|
||||||
|
cd /tmp
|
||||||
snap install kubectl --classic
|
snap install kubectl --classic
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue