+++ This bug was initially created as a clone of Bug #1904824 +++
Description of problem:
In Fedora 33, a change was introduced to set the hostname to "fedora" as a fallback instead of the default "localhost", so the current script does not work in OKD as NM will assign the fallback hostname.
This change makes it so the hostname is set to vSphere's
guestinfo.hostname if that's defined, before NetworkManager is started.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
--- Additional comment from Vadim Rutkovsky on 2020-12-06 18:03:40 UTC ---
Fixed by https://github.com/openshift/machine-config-operator/pull/2282