mirror of
https://github.com/gryf/vmstrap.git
synced 2025-12-18 20:10:28 +01:00
Fix some issues suggested by bashate.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
if command -v lsb_release 2>&1 > /dev/null; then
|
||||
if command -v lsb_release > /dev/null 2>&1; then
|
||||
DISTRO_ID=$(lsb_release -i | cut -f 2 -d ':' | xargs \
|
||||
| tr '[:upper:]' '[:lower:]')
|
||||
DISTRO_R=$(lsb_release -r | awk '{print $2}')
|
||||
@@ -172,7 +172,8 @@ ubuntu() {
|
||||
'18.04')
|
||||
sudo update-alternatives \
|
||||
--install /usr/bin/python python /usr/bin/python3.6 10
|
||||
sudo update-alternatives --install /usr/bin/pip pip /usr/bin/pip3 10
|
||||
sudo update-alternatives \
|
||||
--install /usr/bin/pip pip /usr/bin/pip3 10
|
||||
# 5.
|
||||
sudo pip3 install pip --upgrade
|
||||
sudo pip3 install remote_pdb rainbow pdbpp
|
||||
@@ -236,7 +237,8 @@ common_conf() {
|
||||
cp kuryr.conf ~/devstack/local.conf
|
||||
|
||||
# get k9s
|
||||
wget https://github.com/derailed/k9s/releases/download/v0.23.10/k9s_Linux_x86_64.tar.gz
|
||||
wget "https://github.com/derailed/k9s/releases/download/"`
|
||||
`"v0.23.10/k9s_Linux_x86_64.tar.gz"
|
||||
tar xf k9s_Linux_x86_64.tar.gz k9s
|
||||
rm k9s_Linux_x86_64.tar.gz
|
||||
mv k9s ~/
|
||||
|
||||
Reference in New Issue
Block a user