This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install sudo -y | |
apt update && apt upgrade -y | |
locale-gen --purge en_US.UTF-8 | |
echo -e 'LANG="en_US.UTF-8"\nLANGUAGE="en_US:en"\n' > /etc/default/locale | |
sudo apt-get -y install ca-certificates | |
cd /tmp && wget https://apt.puppet.com/puppet6-release-buster.deb | |
sudo dpkg -i /tmp/puppet6-release-buster.deb | |
echo "deb http://deb.theforeman.org/ buster nightly" | sudo tee /etc/apt/sources.list.d/foreman.list | |
echo "deb http://deb.theforeman.org/ plugins nightly" | sudo tee -a /etc/apt/sources.list.d/foreman.list | |
sudo apt-get -y install ca-certificates gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
apt update | |
wget https://s3.amazonaws.com/cfengine.packages/quick-install-cfengine-enterprise.sh && sudo bash ./quick-install-cfengine-enterprise.sh $1 | |
sudo /var/cfengine/bin/cf-agent --bootstrap $2 | |
/var/cfengine/bin/cf-promises --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
socat \ | |
-v -d -d \ | |
TCP-LISTEN:1234,crlf,reuseaddr,fork \ | |
SYSTEM:" | |
echo HTTP/1.1 200 OK; | |
echo Content-Type\: text/plain; | |
echo; | |
cat /home/cloud/token; | |
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet dhcp | |
auto eth1 | |
iface eth1 inet dhcp | |
gateway 10.0.10.100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
networks: | |
traefik: | |
external: true | |
mongodb_mongo: | |
external: true | |
services: | |
foodtime-service: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
pritunl: | |
image: 'jippi/pritunl:latest' | |
privileged: true | |
ports: | |
- '1194:1194/udp' | |
- '1194:1194/tcp' | |
networks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3" | |
services: | |
mongo1: | |
image: mongo:4.2 | |
command: mongod --replSet rs1 --noauth --oplogSize 3 | |
ports: | |
- 27017:27017 | |
environment: | |
TERM: xterm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
networks: | |
traefik: | |
external: true | |
services: | |
traefik: | |
image: "traefik:v2.2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.3" | |
networks: | |
traefik: | |
external: true | |
services: | |
traefik: | |
image: "traefik:v2.2" | |
networks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install curl -y | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sh get-docker.sh |
NewerOlder