agama/live/live-root/usr/lib/dracut/modules.d/99agama-cmdline
2026-06-10 10:29:54 +01:00
..
agama-cmdline-conf.sh Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
agama-network-compat.sh Documentation and fix ifname getargs 2025-05-27 07:28:16 +01:00
agama-network.sh Consider rd.hcn a custom network 2026-06-09 12:55:13 +01:00
module-setup.sh Copy only explicit dracut NetworkManger ip= config 2025-04-25 14:46:00 +01:00
README Rename "root" to "live-root" to avoid confusion 2025-04-23 13:26:35 +02:00
save-agama-conf.sh HCN connections are generated persistently 2026-06-10 10:29:54 +01:00

dracut agama-cmdline module
-------------------------------

This module writes any agama configuration given through the kernel cmdline
to its own cmdline conf file copying it to the sysroot.

It also tries to translate the linuxrc ifcfg kernel cmdline argument to the
corresponding ip one but only basic scenarios are supported.

## Supported examples

  ifcfg=*=dhcp
  ip=dhcp

  ifcfg=eth0=dhcp
  ip=eth0:dhcp

  ifcfg=eth0.10=192.168.0.100/24,192.168.0.1
  vlan=eth0.10:eth0 ip=192.168.0.100::192.168.0.1:24::eth0.10

  ifcfg="eth0=192.168.0.33/24 10.0.0.100/24,192.168.0.1,192.168.0.1 10.0.0.1,suse.de"
  ip=192.168.0.33::192.168.0.1:24::eth0 nameserver=192.168.0.1 nameserver=10.0.0.1 ip=10.0.0.100:::24::eth0