# usermod -aG docker ${USER}
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
docker rm $(docker ps -a -q -f status=exited)
| #!/bin/bash | |
| # Some auxiliar packages will be installed using cloud-init configuration | |
| #KUBE_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) | |
| K8S_VERSION=v1.17.0 | |
| printf "Installing cfssl cfssljson...\n" | |
| wget -q --show-progress --https-only --timestamping \ | |
| https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/linux/cfssl \ | |
| https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/linux/cfssljson |
| #!/bin/bash | |
| # Some auxiliar packages will be installed using cloud-init configuration | |
| #KUBE_VERSION=$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt) | |
| K8S_VERSION=v1.17.0 | |
| printf "Installing cfssl cfssljson...\n" | |
| wget -q --show-progress --https-only --timestamping \ | |
| https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/linux/cfssl \ | |
| https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/linux/cfssljson |
| #!/bin/sh | |
| if [ -z "$1" ] ; | |
| then | |
| printf "Specify a directory name.\n" | |
| exit 1 | |
| fi | |
| sudo apt update && apt install rename | |
| find $1 -depth -exec rename 's/(.*)\/([^\/]*)/$1\/\L$2/' {} \; |
| XKBMODEL="pc105" | |
| XKBLAYOUT="es" | |
| XKBVARIANT="" | |
| XKBOPTIONS="" | |
| BACKSPACE="guess" |
| #!/bin/sh | |
| if [ -z "$1" ] ; | |
| then | |
| echo Specify a VM name. | |
| exit 1 | |
| fi | |
| virt-install \ | |
| --name $1 \ | |
| --ram 4096 \ | |
| --disk path=/your/path/images/$1.img,size=10 \ |
| #!/bin/sh | |
| sudo apt update && sudo apt upgrade | |
| sudo apt install -y docker.io curl sudo vim | |
| sudo cat > /etc/docker/daemon.json <<EOF | |
| { | |
| "exec-opts": ["native.cgroupdriver=systemd"], | |
| "log-driver": "json-file", | |
| "log-opts": { | |
| "max-size": "100m" | |
| }, |
| $ cd WORKSPACE_DIRECTORY; for i in `find . -maxdepth 1 -type d `; do echo "$i"; git -C $i status -s; done; |
I hereby claim:
To claim this, I am signing this object: