summaryrefslogtreecommitdiff
path: root/notes/lxc_setup.sh.txt
diff options
context:
space:
mode:
Diffstat (limited to 'notes/lxc_setup.sh.txt')
-rw-r--r--notes/lxc_setup.sh.txt8
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