Last active
August 29, 2015 14:08
-
-
Save ericmoritz/d3355bec33c6f782db52 to your computer and use it in GitHub Desktop.
vagrant provision for jepsen
This file contains hidden or 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
| aptitude update | |
| aptitude install lxc | |
| SUITE=jessie MIRROR=http://ftp.fr.debian.org/debian lxc-create -n n1 -t debian | |
| SUITE=jessie MIRROR=http://ftp.fr.debian.org/debian lxc-create -n n2 -t debian | |
| SUITE=jessie MIRROR=http://ftp.fr.debian.org/debian lxc-create -n n3 -t debian | |
| SUITE=jessie MIRROR=http://ftp.fr.debian.org/debian lxc-create -n n4 -t debian | |
| SUITE=jessie MIRROR=http://ftp.fr.debian.org/debian lxc-create -n n5 -t debian | |
| cat << EOF > /etc/lxc/dnsmasq.conf | |
| dhcp-host=n1,10.0.3.101 | |
| dhcp-host=n2,10.0.3.102 | |
| dhcp-host=n3,10.0.3.103 | |
| dhcp-host=n4,10.0.3.104 | |
| dhcp-host=n5,10.0.3.105 | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment