Skip to content

Latest commit

 

History

History
56 lines (37 loc) · 1.67 KB

File metadata and controls

56 lines (37 loc) · 1.67 KB

initramfs_network

Installs initramfs-tools-network-hook (https://github.com/stcz/initramfs-tools-network-hook) to configure "bond" and "vlan" devices in an initramfs boot partition, as well as the server's static IP during initramfs.

Requirements

Role Variables

See ./defaults/main.yml

Example Playbook

- hosts: servers
  become: true
  roles:
     - { role: initramfs_network, tags: initramfs_network }

Known issues

  • When using bonding, especially the 802.3ad mode (default), only bonding a single interface will sometimes cause issues.

    If you insist on using bonding on a single interface then you can try overriding initramfs_network_bond_driver_options to set the bonding mode to e.g balance-rr, which has previously proven successful in this scenario:

    initramfs_network_bond_driver_options: "mode=balance-rr miimon=100"