1
0
mirror of https://github.com/gryf/vmstrap.git synced 2025-12-18 20:10:28 +01:00

Added some instructions for ubuntu bootstra, ipython, and some minor things

This commit is contained in:
2020-03-20 11:34:38 +01:00
parent 56186769ae
commit 24169257f7

View File

@@ -1,11 +1,13 @@
#!/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
# 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 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
sudo apt update && sudo apt -y upgrade
@@ -17,6 +19,7 @@ if [[ $? -eq 0 ]]; then
flake8
git-review
htop
ipython
mc
python-apsw
python-flake8
@@ -25,6 +28,7 @@ if [[ $? -eq 0 ]]; then
python3-flake8
python3-jedi
silversearcher-ag
tmate
vim-gtk"
else
PGS="ccze
@@ -32,6 +36,7 @@ else
flake8
git-review
htop
ipython
mc
python-apsw
python-flake8