Skip to content

Instantly share code, notes, and snippets.

@ericmoritz
Last active August 29, 2015 14:08
Show Gist options
  • Select an option

  • Save ericmoritz/d3355bec33c6f782db52 to your computer and use it in GitHub Desktop.

Select an option

Save ericmoritz/d3355bec33c6f782db52 to your computer and use it in GitHub Desktop.
vagrant provision for jepsen
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