When ubuntu 18.04 server is trying to do an OEM installation using oem-config-firstboot, the ubiquity breaks the symlink /etc/resolv.conf -> /run/systemd/resolv/stub-resolv.conf.
The reproducer steps:
1. Prepare ubuntu-server with d-i version
2. Install iso
3. apt install oem-config
4. apt-get --purge -y autoremove ubiquity-frontend-gtk
5. oem-config-prepare -q
6. reboot
7. enter oem-config and finish it
8. check if /etc/resolv.conf is broken (actually it becomes a zero-byte file)
When ubuntu 18.04 server is trying to do an OEM installation using oem-config- firstboot, the ubiquity breaks the symlink /etc/resolv.conf -> /run/systemd/ resolv/ stub-resolv. conf.
The reproducer steps: frontend- gtk
1. Prepare ubuntu-server with d-i version
2. Install iso
3. apt install oem-config
4. apt-get --purge -y autoremove ubiquity-
5. oem-config-prepare -q
6. reboot
7. enter oem-config and finish it
8. check if /etc/resolv.conf is broken (actually it becomes a zero-byte file)