mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Document DHCP usage on LXC < 1.0.7
This commit is contained in:
parent
229594d33f
commit
d733cfb629
@ -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
|
||||
===============================
|
||||
|
Loading…
Reference in New Issue
Block a user