open-nomad/scripts/install_rkt_vagrant.sh
2016-10-25 09:46:49 -07:00

9 lines
284 B
Bash
Executable file

#!/bin/bash
set -ex
# Configure rkt networking
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