mirror of
https://github.com/gryf/vmstrap.git
synced 2025-12-19 04:20:26 +01:00
Added some instructions for ubuntu bootstra, ipython, and some minor things
This commit is contained in:
@@ -1,11 +1,13 @@
|
|||||||
#!/bin/bash -x
|
#!/bin/bash -x
|
||||||
|
|
||||||
|
# Sometimes, it might be needed to force external network to cooperate:
|
||||||
# 0. network. paste it to the machine before running this script
|
# 0. network. paste it to the machine before running this script
|
||||||
# sudo sh -c 'echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg'
|
|
||||||
# sudo netplan apply
|
|
||||||
# sudo sh -c 'rm /etc/resolv.conf; echo "nameserver 1.1.1.1" > /etc/resolv.conf'
|
# sudo sh -c 'rm /etc/resolv.conf; echo "nameserver 1.1.1.1" > /etc/resolv.conf'
|
||||||
# sudo sed -i -e "s/127.0.0.1 localhost/127.0.0.1 localhost ${HOSTNAME}/" /etc/hosts
|
# sudo sed -i -e "s/127.0.0.1 localhost/127.0.0.1 localhost ${HOSTNAME}/" /etc/hosts
|
||||||
# git clone https://github.com/gryf/vmstrap && cd vmstrap
|
# sudo sh -c 'echo "network: {config: disabled}" > /etc/cloud/cloud.cfg.d/99-disable-network-config.cfg'
|
||||||
|
# sudo netplan apply
|
||||||
|
# git clone https://github.com/gryf/vmstrap
|
||||||
|
# cd vmstrap
|
||||||
|
|
||||||
# 1. update
|
# 1. update
|
||||||
sudo apt update && sudo apt -y upgrade
|
sudo apt update && sudo apt -y upgrade
|
||||||
@@ -17,6 +19,7 @@ if [[ $? -eq 0 ]]; then
|
|||||||
flake8
|
flake8
|
||||||
git-review
|
git-review
|
||||||
htop
|
htop
|
||||||
|
ipython
|
||||||
mc
|
mc
|
||||||
python-apsw
|
python-apsw
|
||||||
python-flake8
|
python-flake8
|
||||||
@@ -25,6 +28,7 @@ if [[ $? -eq 0 ]]; then
|
|||||||
python3-flake8
|
python3-flake8
|
||||||
python3-jedi
|
python3-jedi
|
||||||
silversearcher-ag
|
silversearcher-ag
|
||||||
|
tmate
|
||||||
vim-gtk"
|
vim-gtk"
|
||||||
else
|
else
|
||||||
PGS="ccze
|
PGS="ccze
|
||||||
@@ -32,6 +36,7 @@ else
|
|||||||
flake8
|
flake8
|
||||||
git-review
|
git-review
|
||||||
htop
|
htop
|
||||||
|
ipython
|
||||||
mc
|
mc
|
||||||
python-apsw
|
python-apsw
|
||||||
python-flake8
|
python-flake8
|
||||||
|
|||||||
Reference in New Issue
Block a user