Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cloud-netconfig for openSUSE:Factory 
checked in at 2026-03-10 17:57:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cloud-netconfig (Old)
 and      /work/SRC/openSUSE:Factory/.cloud-netconfig.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cloud-netconfig"

Tue Mar 10 17:57:52 2026 rev:25 rq:1337970 version:1.19

Changes:
--------
--- /work/SRC/openSUSE:Factory/cloud-netconfig/cloud-netconfig.changes  
2026-03-04 21:04:30.690682860 +0100
+++ 
/work/SRC/openSUSE:Factory/.cloud-netconfig.new.8177/cloud-netconfig.changes    
    2026-03-10 18:48:41.300583508 +0100
@@ -1,0 +2,6 @@
+Fri Mar  6 14:12:46 UTC 2026 - Joachim Gleissner <[email protected]>
+
+- Update to version 1.19
+  + Make sure IPADDR variable is stripped of netmask
+
+-------------------------------------------------------------------

Old:
----
  cloud-netconfig-1.18.tar.bz2

New:
----
  cloud-netconfig-1.19.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cloud-netconfig.spec ++++++
--- /var/tmp/diff_new_pack.EZsiev/_old  2026-03-10 18:48:43.048655220 +0100
+++ /var/tmp/diff_new_pack.EZsiev/_new  2026-03-10 18:48:43.064655877 +0100
@@ -48,7 +48,7 @@
 %endif
 
 Name:           %{base_name}%{flavor_suffix}
-Version:        1.18
+Version:        1.19
 Release:        0
 License:        GPL-3.0-or-later
 Summary:        Network configuration scripts for %{csp_string}

++++++ cloud-netconfig-1.18.tar.bz2 -> cloud-netconfig-1.19.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloud-netconfig-1.18/VERSION 
new/cloud-netconfig-1.19/VERSION
--- old/cloud-netconfig-1.18/VERSION    2026-02-26 15:30:49.479719777 +0100
+++ new/cloud-netconfig-1.19/VERSION    2026-03-06 15:11:59.573400402 +0100
@@ -1 +1 @@
-1.18
+1.19
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloud-netconfig-1.18/cloud-netconfig.spec 
new/cloud-netconfig-1.19/cloud-netconfig.spec
--- old/cloud-netconfig-1.18/cloud-netconfig.spec       2026-02-26 
15:30:49.480719811 +0100
+++ new/cloud-netconfig-1.19/cloud-netconfig.spec       2026-03-06 
15:11:59.573400402 +0100
@@ -48,7 +48,7 @@
 %endif
 
 Name:           %{base_name}%{flavor_suffix}
-Version:        1.18
+Version:        1.19
 Release:        0
 License:        GPL-3.0-or-later
 Summary:        Network configuration scripts for %{csp_string}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/cloud-netconfig-1.18/common/cloud-netconfig 
new/cloud-netconfig-1.19/common/cloud-netconfig
--- old/cloud-netconfig-1.18/common/cloud-netconfig     2026-02-26 
15:30:49.481719845 +0100
+++ new/cloud-netconfig-1.19/common/cloud-netconfig     2026-03-06 
15:11:59.574400429 +0100
@@ -407,6 +407,7 @@
         warn "Could not determine interface index for $INTERFACE"
         return 1
     fi
+    IPADDR="${IPADDR%/*}"
     local dest_table="$((ifindex+30000))"
     local gw_table="$((ifindex+30400))"
 
@@ -442,7 +443,7 @@
     for addr in ${addr_to_remove[@]} ; do
         # as a safety measure, check against the address received via DHCP and
         # refuse to remove it even if it is not in the meta data
-        if [[ "${addr%/*}" == "${IPADDR%/*}" ]]; then
+        if [[ "${addr%/*}" == "${IPADDR}" ]]; then
             debug "not removing DHCP IP address from interface"
             continue
         fi
@@ -524,7 +525,7 @@
             fi
         fi
         if [[ -n $GW ]]; then
-            debug "adding default route via $GW for $INTERFACE table $GW_TABLE"
+            debug "adding default route via $GW for $INTERFACE src $IPADDR 
table $GW_TABLE"
             ip -4 route add default via $GW dev "$INTERFACE" src $IPADDR 
metric $((ifindex+24000))
         else
             warn "No default route for $INTERFACE"

Reply via email to