Disable ipmasq in the default ptp network

This commit is contained in:
Abhishek Chanda
2016-02-16 18:57:12 -08:00
parent 0f4472d94f
commit 45b8670829

View File

@@ -5,6 +5,9 @@ set -ex
RKT_VERSION="v1.0.0"
DEST_DIR="/usr/local/bin"
sudo mkdir -p /etc/rkt/net.d
echo '{"name": "default", "type": "ptp", "ipMasq": false, "ipam": { "type": "host-local", "subnet": "172.16.28.0/24", "routes": [ { "dst": "0.0.0.0/0" } ] } }' | sudo tee -a /etc/rkt/net.d/99-network.conf
wget https://github.com/coreos/rkt/releases/download/$RKT_VERSION/rkt-$RKT_VERSION.tar.gz
tar xzvf rkt-$RKT_VERSION.tar.gz
sudo cp rkt-$RKT_VERSION/rkt $DEST_DIR