Comment 3 for bug 1766538

Revision history for this message
Pengpeng Sun (pengpengs) wrote :

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.