Lxc setup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
lxc-create -n sixxs -t ubuntu -- --release trusty --trim -b riechers | lxc-create -n sixxs -t ubuntu -- --release trusty --trim -b riechers | ||
Edit /lxc/lib/[name]/config and add | |||
lxc.network.ipv4=172.16.0.35/24 | |||
lxc.network.ipv4.gateway=172.16.0.1 | |||
lxc.network.veth.pair=[name] | |||
Revision as of 13:16, 4 August 2014
lxc-create -n sixxs -t ubuntu -- --release trusty --trim -b riechers
Edit /lxc/lib/[name]/config and add
lxc.network.ipv4=172.16.0.35/24 lxc.network.ipv4.gateway=172.16.0.1 lxc.network.veth.pair=[name]