Yes, copying /etc/netplan should be enough to fix this.
Although, in the live system (testing the beta image here), there is a file called /etc/netplan/50-cloud-init.yaml that we maybe don't want to copy? It has two connections, zz-all-en and zz-all-eth. If we copy it, the user will find these two connections in their system (it will show up in nmcli con show for example).
So we probably just want to copy /etc/netplan/01-network-manager-all.yaml and anything that starts with /etc/netplan/90-NM-* (because these are the files created when the interfaces are configured in the live system).
Hi Seb,
Yes, copying /etc/netplan should be enough to fix this.
Although, in the live system (testing the beta image here), there is a file called /etc/netplan/ 50-cloud- init.yaml that we maybe don't want to copy? It has two connections, zz-all-en and zz-all-eth. If we copy it, the user will find these two connections in their system (it will show up in nmcli con show for example).
So we probably just want to copy /etc/netplan/ 01-network- manager- all.yaml and anything that starts with /etc/netplan/ 90-NM-* (because these are the files created when the interfaces are configured in the live system).
The WPA password will be stored in the yaml file.