~serge-hallyn/ubuntu/saucy/lxc/lxc-doc1

« back to all changes in this revision

Viewing changes to debian/lxc.default

  • Committer: Stéphane Graber
  • Author(s): Serge Hallyn
  • Date: 2013-05-14 19:34:51 UTC
  • Revision ID: stgraber@ubuntu.com-20130514193451-e23wdfwpfdg2rnsd
Tags: 0.9.0-0ubuntu6
debian/lxc.default, debian/lxc.preinst: calculate an open 10.0.x.0 network
for lxcbr0 to use at package install time.  This allows easier package
installion when nested.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
# /etc/lxc/auto
9
9
LXC_AUTO="true"
10
10
 
11
 
# Leave USE_LXC_BRIDGE as "true" if you want to use lxcbr0 for your
12
 
# containers.  Set to "false" if you'll use virbr0 or another existing
13
 
# bridge, or mavlan to your host's NIC.
14
 
USE_LXC_BRIDGE="true"
15
 
 
16
 
# If you change the LXC_BRIDGE to something other than lxcbr0, then
17
 
# you will also need to update your /etc/lxc/default.conf as well as the
18
 
# configuration (/var/lib/lxc/<container>/config) for any containers
19
 
# already created using the default config to reflect the new bridge
20
 
# name.
21
 
# If you have the dnsmasq daemon installed, you'll also have to update
22
 
# /etc/dnsmasq.d/lxc and restart the system wide dnsmasq daemon.
23
 
LXC_BRIDGE="lxcbr0"
24
 
LXC_ADDR="10.0.3.1"
25
 
LXC_NETMASK="255.255.255.0"
26
 
LXC_NETWORK="10.0.3.0/24"
27
 
LXC_DHCP_RANGE="10.0.3.2,10.0.3.254"
28
 
LXC_DHCP_MAX="253"
 
11
USE_LXC_BRIDGE="false"  # overridden in lxc-net
 
12
[ -f /etc/default/lxc-net ] && . /etc/default/lxc-net
29
13
 
30
14
LXC_SHUTDOWN_TIMEOUT=120