xoxys.network/index.md
Robert Kaussow f3e2a6e626 commit 8d10acf620
Author: Robert Kaussow <mail@thegeeklab.de>
Date:   Tue Dec 28 17:18:11 2021 +0100

    fix docs annotation
2021-12-28 16:18:33 +00:00

2.1 KiB

title type
network docs

Source Code Build Status License: MIT

Manage linux network configuration.


Default Variables

network_defaultif

Default value

network_defaultif: eth0

network_disable_ipv6

Default value

network_disable_ipv6: false

network_dns_server

Default value

network_dns_server: 8.8.8.8

network_fqdn

Default value

network_fqdn: localdomain

network_hostname

Default value

network_hostname: localhost

network_hosts_entries

Default value

network_hosts_entries: []

Example usage

network_hosts_entries:
  - hostname: myhost
    fqdn: myhost.rknet.org
    address: 1.2.3.4

network_interfaces

Default value

network_interfaces: {}

Example usage

network_interfaces:
  eth0:
    bootproto: none
    onboot: yes
    hwaddr: "aa:bb:cc:dd:ee"
    ipaddr: 192.168.0.5
    prefix: 26
    gateway: "192.168.0.1"
    userctl: no

network_routes

Default value

network_routes: {}

Example usage

network_routes:
  eth0: |
    10.168.0.1/32 via 0.0.0.0 dev eth0 scope link
    10.168.0.0/27 via 10.168.0.1 dev eth0    

Dependencies

None.