From f876323aad34cf70dca503636fe43a4bb084f06a Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Tue, 19 Oct 2010 17:09:22 -0700 Subject: notes: lxc_setup.sh.txt: adding bridge setup --- notes/lxc_setup.sh.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'notes') diff --git a/notes/lxc_setup.sh.txt b/notes/lxc_setup.sh.txt index 904af24..9aa8d45 100644 --- a/notes/lxc_setup.sh.txt +++ b/notes/lxc_setup.sh.txt @@ -6,6 +6,14 @@ users=( andrew ) +# you probably want something like this in /etc/network/interfaces +#auto br0 +#iface br0 inet static +# bridge_ports eth1 +# bridge_fd 0 +# address 192.168.1.10 +# netmask 255.255.255.0 + mkdir -p /srv/lxc/ lvcreate -L 1G -n $container $volumegroup mkfs.xfs /dev/$volumegroup/$container -- cgit v1.2.3