Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not accept hostname from DHCP, use static one
POO#15740 On Xen under svirt backend we don't have user-mode networking we have for KVM and Qemu. If networking.service is restarted (explicitly or by system restart) on Xen the system accepts new hostname different from the static one. This change prevents system to set as a hostname whatever comes from DHCP and sticks with static hostname. Otherwise yast2_lan test fails: https://openqa.suse.de/tests/692200. Now `hostname --fqdn` fails on all systems but that's expected as domain name is not set. Verification runs: Xen: http://assam.suse.cz/tests/4578 KVM: http://assam.suse.cz/tests/4575 Qemu: http://assam.suse.cz/tests/4577
- Loading branch information