I’ll start with explaining my problem. I need to figure out the correct and intended way that Ubuntu Core has designed to configure IP addresses. In this case it is Ubuntu Core 16 clean install with nothing added or modified.
So to go down the line of attempts:
- NetworkManager is not installed so not used.
- Attempt to use netplan
Using this yaml file (below) in /etc/netplan directory correctly sets everything as intended but experience the same isssue described in this forum post https://ubuntuforums.org/showthread.php?t=2323253 but due to Ubuntu Cores read only file system, changing any of these time out values is not an option.
- Use nmcli
This works to allow static and dhcp to set, the boot issue from netplan doesn’t exist but there’s no hotplug option anymore. This means if I don’t have a static port plugged in, the ip address is not available. I need that solution to exist and this seems the most stable but missing this feature.
Am I missing something in any of this? Is there a solution for netplan for Ubuntu Core? Or I’d even take a nmcli solution that allows static IP’s to remain when unplugged.
I am aware of console.conf but this is not a viable solution as I need this to be done via software, not an interactive interface through the terminal.