Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package google-guest-configs for openSUSE:Factory checked in at 2025-07-11 21:31:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/google-guest-configs (Old) and /work/SRC/openSUSE:Factory/.google-guest-configs.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "google-guest-configs" Fri Jul 11 21:31:03 2025 rev:33 rq:1292056 version:20250709.00 Changes: -------- --- /work/SRC/openSUSE:Factory/google-guest-configs/google-guest-configs.changes 2025-06-26 11:40:30.680740600 +0200 +++ /work/SRC/openSUSE:Factory/.google-guest-configs.new.7373/google-guest-configs.changes 2025-07-11 21:33:37.921772462 +0200 @@ -1,0 +2,10 @@ +Fri Jul 11 11:36:26 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 20250709.00 + * Add comments in scripts to document the behavior in google + hostname setting. + * Always use primary NIC IP for NetworkManager dispatcher hook. +- from version 20250626.00 + * Fix spelling error: "explicilty" -> "explicitly" + +------------------------------------------------------------------- Old: ---- google-guest-configs-20250605.00.tar.gz New: ---- google-guest-configs-20250709.00.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ google-guest-configs.spec ++++++ --- /var/tmp/diff_new_pack.LK2jzm/_old 2025-07-11 21:33:38.597800268 +0200 +++ /var/tmp/diff_new_pack.LK2jzm/_new 2025-07-11 21:33:38.601800433 +0200 @@ -23,7 +23,7 @@ %define _udevdir %(pkg-config --variable udev_dir udev) %endif Name: google-guest-configs -Version: 20250605.00 +Version: 20250709.00 Release: 0 Summary: Google Cloud Guest Configs License: Apache-2.0 ++++++ google-guest-configs-20250605.00.tar.gz -> google-guest-configs-20250709.00.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/guest-configs-20250605.00/src/etc/NetworkManager/dispatcher.d/google_hostname.sh new/guest-configs-20250709.00/src/etc/NetworkManager/dispatcher.d/google_hostname.sh --- old/guest-configs-20250605.00/src/etc/NetworkManager/dispatcher.d/google_hostname.sh 2025-06-05 22:31:29.000000000 +0200 +++ new/guest-configs-20250709.00/src/etc/NetworkManager/dispatcher.d/google_hostname.sh 2025-06-28 01:38:02.000000000 +0200 @@ -12,7 +12,11 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + if [[ $2 == "up" ]]; then - new_host_name=$DHCP4_HOST_NAME new_ip_address=${DHCP4_IP_ADDRESS%%/*} google_set_hostname + instance=$(curl -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/?recursive=true) + + # Ensure that the hostname and IP address are set only for the primary NIC. + new_ip_address=$(jq -r .networkInterfaces[0].ip <<< $instance) new_host_name=$(jq -r .hostname <<< $instance) google_set_hostname fi diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/guest-configs-20250605.00/src/etc/sysconfig/network/scripts/google_up.sh new/guest-configs-20250709.00/src/etc/sysconfig/network/scripts/google_up.sh --- old/guest-configs-20250605.00/src/etc/sysconfig/network/scripts/google_up.sh 2025-06-05 22:31:29.000000000 +0200 +++ new/guest-configs-20250709.00/src/etc/sysconfig/network/scripts/google_up.sh 2025-06-28 01:38:02.000000000 +0200 @@ -14,6 +14,8 @@ # limitations under the License. instance=$(curl -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/?recursive=true) + +# Ensure that the hostname and IP address are set only for the primary NIC. new_ip_address=$(jq -r .networkInterfaces[0].ip <<< $instance) new_host_name=$(jq -r .hostname <<< $instance) new_ip_address=$new_ip_address new_host_name=$new_host_name google_set_hostname diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/guest-configs-20250605.00/src/etc/systemd/resolved.conf.d/gce-resolved.conf new/guest-configs-20250709.00/src/etc/systemd/resolved.conf.d/gce-resolved.conf --- old/guest-configs-20250605.00/src/etc/systemd/resolved.conf.d/gce-resolved.conf 2025-06-05 22:31:29.000000000 +0200 +++ new/guest-configs-20250709.00/src/etc/systemd/resolved.conf.d/gce-resolved.conf 2025-06-28 01:38:02.000000000 +0200 @@ -19,6 +19,6 @@ MulticastDNS=false # Send DNS requests to MDS # Systemd-resolved will still pick the right server from DHCP, but if we don't -# explicilty configure it here we can't use it for .local domains. +# explicitly configure it here we can't use it for .local domains. DNS=169.254.169.254 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/guest-configs-20250605.00/src/usr/lib/networkd-dispatcher/routable.d/google_hostname.sh new/guest-configs-20250709.00/src/usr/lib/networkd-dispatcher/routable.d/google_hostname.sh --- old/guest-configs-20250605.00/src/usr/lib/networkd-dispatcher/routable.d/google_hostname.sh 2025-06-05 22:31:29.000000000 +0200 +++ new/guest-configs-20250709.00/src/usr/lib/networkd-dispatcher/routable.d/google_hostname.sh 2025-06-28 01:38:02.000000000 +0200 @@ -12,6 +12,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License + instance=$(curl -H 'Metadata-Flavor: Google' http://169.254.169.254/computeMetadata/v1/instance/?recursive=true) + +# Ensure that the hostname and IP address are set only for the primary NIC. new_ip_address=$(jq -r .networkInterfaces[0].ip <<< $instance) new_host_name=$(jq -r .hostname <<< $instance) google_set_hostname