summaryrefslogtreecommitdiff
path: root/google_set_hostname.patch
diff options
context:
space:
mode:
Diffstat (limited to 'google_set_hostname.patch')
-rw-r--r--google_set_hostname.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/google_set_hostname.patch b/google_set_hostname.patch
deleted file mode 100644
index a3200e5..0000000
--- a/google_set_hostname.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff --unified --recursive --text guest-configs-20220211.00.orig/src/usr/bin/google_set_hostname guest-configs-20220211.00/src/usr/bin/google_set_hostname
---- guest-configs-20220211.00.orig/src/usr/bin/google_set_hostname 2021-01-24 16:23:33.145413281 +0000
-+++ guest-configs-20220211.00/src/usr/bin/google_set_hostname 2021-01-24 16:20:26.670408935 +0000
-@@ -43,7 +43,7 @@
- # unqualified domain name.
-
- if [ -n "$new_host_name" ] && ! echo "$new_host_name" | grep -iq "metadata.google.internal"; then
-- hostname "${new_host_name%%.*}"
-+ hostnamectl set-hostname "${new_host_name%%.*}"
-
- # If NetworkManager is installed set the hostname with nmcli.
- # to resolve issues with NetworkManager resetting the hostname