Comment 7 for bug 2063331

Revision history for this message
Lukas Märdian (slyon) wrote (last edit ):

After some sparring with Steve, Dave and others, I think we should apply this policy in our installers:

#1 - Any interface that was connected and dynamically autoconfigured at installation-time should be configured the same way in the target system, as a normal/non-optional interface.

#2 - Any interface that was explicitly configured by the user in the installer UI, should be configured in that explicit way in the target system, as a normal/non-optional interface.

#3 - Any interface that was disabled at installation-time, should not be configured at all in the target system, to avoid unintended behaviour by plugging-in Ethernet cables into random network ports.
#3a - This applies to interfaces that were unplugged at installation-time or could not be autoconfigured by the installer.
#3b - This applies to interfaces that were explicitly disabled by the user through the installer UI

Optionally:
Interfaces from #3a might be listed in the target system's Netplan configuration and configured as "dhcp4: true" and "optional: true". But the network definitions describing such interfaces should be commented out in the Netplan configuration. They should merely function as an example to the user, should they wish to manually change their configuration afterwards.