Skip to content

Instantly share code, notes, and snippets.

View jseguillon's full-sized avatar

Joel Seguillon jseguillon

View GitHub Profile
@jseguillon
jseguillon / 00-HyperV Ubuntu 19
Last active April 15, 2020 20:01
Installing (once again) a dev environnement
# Use quick create like https://gist.github.com/jseguillon/a462aef872b2416b8042c07773626310
# if you want Ubuntu 19 : follow this gist
# Remember modify VM before launching and NOT activate automatic login when installing if wanna use enhanced session mode !
# Install shh server so it will be easy to copy-paste commands via Putty, until we have enhanced session installed
sudo apt install openssh-server
# Now we can connect through putty
# Do updates first
#https://www.osboxes.org/ubuntu/
#https://www.techrepublic.com/article/how-to-quickly-install-kubernetes-on-ubuntu/
sudo apt-get update && apt-get install -y apt-transport-https && \
sudo apt-get update && apt-get install -y apt-transport-https && \
sudo apt install docker.io && \
sudo systemctl start docker && \
sudo systemctl enable docker && \
sudo curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add && \
deb http://apt.kubernetes.io/ kubernetes-xenial main && \
sudo apt-get update && \
@jseguillon
jseguillon / commands.sh
Last active July 25, 2019 15:33
Devops rennes 2017 hands on Terraform Openstack
##
docker pull jseguillon/openbox || docker pull jseguillon/openbox:alpine
git clone https://gist.github.com/2c2b2220a4b9e294733e6ff09966f591.git dops-ren && cd dops-ren
##
ssh-keygen -f ./openstack -b 4096
#ovh 4096 key
docker run -d -it --name dops-ren --mount type=bind,source="$(pwd)",target=/usr/share/source jseguillon/openbox:alpine
#Or non alpine