Document DHCP usage on LXC < 1.0.7

This commit is contained in:
jpic 2015-05-21 14:14:39 +02:00
parent 229594d33f
commit d733cfb629

View File

@ -226,6 +226,17 @@ container-by-container basis, for instance using the ``nic_opts`` argument to
for instance, typically are configured for eth0 to use DHCP, which will
conflict with static IP addresses set at the container level.
.. note::
For LXC < 1.0.7 and DHCP support, set ``ipv4.gateway: 'auto'`` is your
network profile, ie.::
lxc.network_profile.nic:
debian:
eth0:
link: lxcbr0
ipv4.gateway: 'auto'
Creating a Container on the CLI
===============================