mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add example of multiple addrs/ipv6addrs to docs
This commit is contained in:
parent
91c8a1b4e4
commit
3d1469b8d9
1 changed files with 16 additions and 0 deletions
|
@ -205,6 +205,22 @@ all interfaces are ignored unless specified.
|
|||
- require_reboot: True
|
||||
- apply_hostname: True
|
||||
|
||||
lo:
|
||||
network.managed:
|
||||
- name: lo
|
||||
- type: eth
|
||||
- onboot: yes
|
||||
- userctl: no
|
||||
- ipv6_autoconf: no
|
||||
- enable_ipv6: true
|
||||
- ipaddrs:
|
||||
- 127.0.0.1/8
|
||||
- 10.1.0.4/32
|
||||
- 10.1.0.12/32
|
||||
- ipv6addrs:
|
||||
- fc00::1/128
|
||||
- fc00::100/128
|
||||
|
||||
.. note::
|
||||
Apply changes to hostname immediately.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue