|
- get_items() -> network::pxe::read_pxelinux_conf()
- don't read comments in pxelinux configuration file
- store pxelinux configuration in a hash to avoid multiple cat_()
- add network::pxe::list_pxelinux_labels() to get labels from a pxelinux configuration
- only overwrite pxelinux settings (prompt, timeout, ...) when pxe is reconfigured
- use network::network and network::tools to get hostname, domain name, IP address, net interface
- move row creation code in set_pxelinux_entry_at_iter() and factorize
- use ensure_is_installed to make sure pxe is installed
|