I compared Desktop with Server after customization.
Ubuntu 18.04 Desktop:
>ls /etc/network
if-post-down.d if-pre-up.d if-up.d interfaces interfaces.before_vmware_customization interfaces.d
>cat /etc/network/interfaces
# DO NOT EDIT THIS FILE BY HAND -- AUTOMATICALLY GENERATED BY cloud-init
source /etc/network/interfaces.d/*.cfg
>ls /etc/network/interfaces.d
50-cloud-init.yaml
Ubuntu 18.04 Server:
>ls /etc/network
if-post-down.d if-pre-up.d if-up.d interfaces interfaces.before_vmware_customization
>cat /etc/network/interfaces
# DO NOT EDIT THIS FILE BY HAND -- AUTOMATICALLY GENERATED BY cloud-init
source /etc/network/interfaces.d/*.cfg
>ls /etc/netplan
01-netcfg.yaml 50-cloud-init.yaml
·On Desktop, it has ’50-cloud-init.cfg’ under /etc/network/interfaces.d which is correct network configuration according to customization spec
·On Server, there is no /etc/network/interfaces.d directory, the ’50-cloud-init.cfg’ is under /etc/netplan and it does not change according to customization spec.
I compared Desktop with Server after customization.
Ubuntu 18.04 Desktop: before_ vmware_ customization interfaces.d interfaces interfaces. d/*.cfg interfaces. d
>ls /etc/network
if-post-down.d if-pre-up.d if-up.d interfaces interfaces.
>cat /etc/network/
# DO NOT EDIT THIS FILE BY HAND -- AUTOMATICALLY GENERATED BY cloud-init
source /etc/network/
>ls /etc/network/
50-cloud-init.yaml
Ubuntu 18.04 Server: before_ vmware_ customization interfaces interfaces. d/*.cfg
>ls /etc/network
if-post-down.d if-pre-up.d if-up.d interfaces interfaces.
>cat /etc/network/
# DO NOT EDIT THIS FILE BY HAND -- AUTOMATICALLY GENERATED BY cloud-init
source /etc/network/
>ls /etc/netplan
01-netcfg.yaml 50-cloud-init.yaml
·On Desktop, it has ’50-cloud-init.cfg’ under /etc/network/ interfaces. d which is correct network configuration according to customization spec interfaces. d directory, the ’50-cloud-init.cfg’ is under /etc/netplan and it does not change according to customization spec.
·On Server, there is no /etc/network/