+# https://bugzilla.redhat.com/show_bug.cgi?id=1785244
+if [ ! -e /etc/resolv.conf ]; then
+ sudo ln -sfn /run/host/monitor/resolv.conf /etc/resolv.conf
+fi
+
+# useful hostname
+. /etc/os-release
+echo "${ID}-${VERSION_ID}" | sudo tee /etc/hostname
+sudo hostname -F /etc/hostname
+