diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-10-19 17:09:22 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2010-10-19 17:09:22 -0700 |
commit | f876323aad34cf70dca503636fe43a4bb084f06a (patch) | |
tree | 77921e80fd31b2796d8bf9c6a491c3c1be642a4c | |
parent | 37d3752db84e02c6d96a2d88a81651be588edae0 (diff) | |
download | jrayhawk-f876323aad34cf70dca503636fe43a4bb084f06a.tar.gz jrayhawk-f876323aad34cf70dca503636fe43a4bb084f06a.zip |
notes: lxc_setup.sh.txt: adding bridge setup
-rw-r--r-- | notes/lxc_setup.sh.txt | 8 |
1 files changed, 8 insertions, 0 deletions
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 |