This Gist is now part of https://github.com/gmasse/ovh-ipxe-customer-script
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
# https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c | |
[metadata] | |
name = {name} | |
version = file: {name}/_version.txt | |
author = Martin Larralde | |
author_email = martin.larralde@embl.de | |
url = https://github.com/althonos/{name} | |
description = {description} | |
long_description = file: README.md |
First we'll update your local master branch. Go to your local project and check out the branch you want to merge into (your local master branch)
$ git checkout master
Fetch the remote, bringing the branches and their commits from the remote repository. You can use the -p, --prune option to delete any remote-tracking references that no longer exist in the remote. Commits to master will be stored in a local branch, remotes/origin/master
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 | |
### This is an example script that sets up IP tables with Docker. Many admins are not aware that UFW | |
### and Docker do not play well together, and accidently expose RPC ports and vulnerable services to | |
### the network. This replaces UFW with Netfilter-persistent and adds rules to the DOCKER-USER chain | |
### which is the correct way to filter incoming traffic with docker. This specific example is for a | |
### Tendermint node running via docker, and wireguard / ssh running directly on the host. | |
# CHANGE THIS TO ACTUAL PUBLIC INTERFACE!!!!!!!!!! |