Skip to content

NetplanTUI Version 1.0.4

Choose a tag to compare

@pyr0hax pyr0hax released this 08 Dec 12:51
· 6 commits to main since this release

NetplanTUI – Version 1.0.4

Profile Loading & UI Improvements

Netplan Profile Loading

  • Added automatic loading of existing Netplan profiles from /etc/netplan/.
  • Detects YAML configuration files and parses:
    • Interface names
    • Addresses
    • DHCP settings
    • Gateways
    • Nameservers
    • Descriptions (if present)

Automatic UI Population

  • When a profile is selected, all relevant fields in the TUI are auto-populated:
    • Interface name
    • Address list
    • DHCP mode
    • IPv4/IPv6 mode (derived automatically)
    • Gateways
    • Nameservers
    • Description field

Profile-Aware Editing

  • Users can now load an existing profile, adjust fields, and regenerate updated YAML.
  • Ensures loaded data is validated using the same rules as manually entered data.
  • Invalid or unusual entries are still preserved with inline token highlighting, just like manual input.

General Enhancements

  • Improved YAML parsing robustness to better support mixed IPv4/IPv6 configurations.
  • Minor UI adjustments to indicate when a profile is loaded and being edited.