Hello community,

here is the log from the commit of package diskimage-builder for 
openSUSE:Factory checked in at 2019-04-14 12:23:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/diskimage-builder (Old)
 and      /work/SRC/openSUSE:Factory/.diskimage-builder.new.27019 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "diskimage-builder"

Sun Apr 14 12:23:17 2019 rev:23 rq:693800 version:2.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/diskimage-builder/diskimage-builder.changes      
2019-03-20 13:19:44.533337277 +0100
+++ 
/work/SRC/openSUSE:Factory/.diskimage-builder.new.27019/diskimage-builder.changes
   2019-04-14 12:23:18.639824675 +0200
@@ -1,0 +2,9 @@
+Fri Apr 12 13:36:52 UTC 2019 - Markos Chandras <[email protected]>
+
+- Version bump to 2.21.0
+  * Minor clarifications in centos7 element docs
+  * Unmount internal mounts on finalise errors
+  * Add DIB_APT_MINIMAL_CREATE_INTERFACES toggle
+  * [lvm] Add Ubuntu bionic as supported distro
+
+-------------------------------------------------------------------

Old:
----
  diskimage-builder-2.20.3.tar.gz

New:
----
  diskimage-builder-2.21.0.tar.gz

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

Other differences:
------------------
++++++ diskimage-builder.spec ++++++
--- /var/tmp/diff_new_pack.fZRM4b/_old  2019-04-14 12:23:19.191825189 +0200
+++ /var/tmp/diff_new_pack.fZRM4b/_new  2019-04-14 12:23:19.191825189 +0200
@@ -20,7 +20,7 @@
 # are only ever run inside the disk image build chroot).
 %global         __requires_exclude_from 
^%{python3_sitelib}/diskimage_builder/elements/.*$
 Name:           diskimage-builder
-Version:        2.20.3
+Version:        2.21.0
 Release:        0
 Summary:        Image Building Tools for OpenStack
 License:        Apache-2.0

++++++ diskimage-builder-2.20.3.tar.gz -> diskimage-builder-2.21.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/diskimage-builder-2.20.3/AUTHORS 
new/diskimage-builder-2.21.0/AUTHORS
--- old/diskimage-builder-2.20.3/AUTHORS        2019-02-28 07:50:11.000000000 
+0100
+++ new/diskimage-builder-2.21.0/AUTHORS        2019-04-04 09:06:59.000000000 
+0200
@@ -50,6 +50,7 @@
 Cédric Ollivier <[email protected]>
 Dan Prince <[email protected]>
 Dan Radez <[email protected]>
+Daniel Abad <[email protected]>
 Darragh Bailey <[email protected]>
 Darragh Bailey <[email protected]>
 Dave Hill <[email protected]>
@@ -72,6 +73,7 @@
 Frederic Lepied <[email protected]>
 Gabriele Cerami <[email protected]>
 Gary Duan <[email protected]>
+Gaëtan Trellu <[email protected]>
 Ghe Rivero <[email protected]>
 Ghe Rivero <[email protected]>
 Ghe Rivero <[email protected]>
@@ -128,6 +130,7 @@
 Lenny Verkhovsky <[email protected]>
 Lin Tan <[email protected]>
 Liu Qing <[email protected]>
+Logan V <[email protected]>
 Luca Lorenzetto <[email protected]>
 Lucas Alvares Gomes <[email protected]>
 Luigi Toscano <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/diskimage-builder-2.20.3/ChangeLog 
new/diskimage-builder-2.21.0/ChangeLog
--- old/diskimage-builder-2.20.3/ChangeLog      2019-02-28 07:50:11.000000000 
+0100
+++ new/diskimage-builder-2.21.0/ChangeLog      2019-04-04 09:06:59.000000000 
+0200
@@ -1,6 +1,16 @@
 CHANGES
 =======
 
+2.21.0
+------
+
+* Replace openstack.org git:// URLs with https://
+* Replace openstack.org git:// URLs with https://
+* Minor clarifications in centos7 element docs
+* Unmount internal mounts on finalise errors
+* Add DIB\_APT\_MINIMAL\_CREATE\_INTERFACES toggle
+* [lvm] Add Ubuntu bionic as supported distro
+
 2.20.3
 ------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/diskimage-builder-2.20.3/PKG-INFO 
new/diskimage-builder-2.21.0/PKG-INFO
--- old/diskimage-builder-2.20.3/PKG-INFO       2019-02-28 07:50:12.000000000 
+0100
+++ new/diskimage-builder-2.21.0/PKG-INFO       2019-04-04 09:07:00.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: diskimage-builder
-Version: 2.20.3
+Version: 2.21.0
 Summary: Golden Disk Image builder.
 Home-page: https://docs.openstack.org/diskimage-builder/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/elements/centos7/README.rst 
new/diskimage-builder-2.21.0/diskimage_builder/elements/centos7/README.rst
--- old/diskimage-builder-2.20.3/diskimage_builder/elements/centos7/README.rst  
2019-02-28 07:49:08.000000000 +0100
+++ new/diskimage-builder-2.21.0/diskimage_builder/elements/centos7/README.rst  
2019-04-04 09:05:37.000000000 +0200
@@ -1,7 +1,7 @@
 =======
 centos7
 =======
-Use Centos 7 cloud images as the baseline for built disk images.
+Use CentOS 7 cloud images as the baseline for built disk images.
 
 For further details see the redhat-common README.
 
@@ -13,9 +13,10 @@
                  the directory containing the ``5/6/7`` directories.
    :Example: ``DIB_DISTRIBUTION_MIRROR=http://amirror.com/centos``
 
-DIB_CLOUD_IMAGES
+DIB_CLOUD_IMAGES:
   :Required: No
   :Description: Set the desired URL to fetch the images from.  ppc64le:
                 Currently the CentOS community is working on providing the
-                ppc64le images until then you'll need to set this to a local
+                ppc64le images. Until then you'll need to set this to a local
                 image file.
+  :Example: 
``DIB_CLOUD_IMAGES=/path/to/my/centos/7/CentOS-7-x86_64-GenericCloud.qcow2.xz``
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/elements/debootstrap/README.rst 
new/diskimage-builder-2.21.0/diskimage_builder/elements/debootstrap/README.rst
--- 
old/diskimage-builder-2.20.3/diskimage_builder/elements/debootstrap/README.rst  
    2019-02-28 07:49:08.000000000 +0100
+++ 
new/diskimage-builder-2.21.0/diskimage_builder/elements/debootstrap/README.rst  
    2019-04-04 09:05:37.000000000 +0200
@@ -63,6 +63,14 @@
 ``DIB_DEBIAN_USE_DEBOOTSTRAP_CACHE`` and ``DIB_DEBOOTSTRAP_EXTRA_ARGS``
 please consult "README.rst" of the debootstrap element.
 
+----------
+Networking
+----------
+
+By default ``/etc/network/interfaces.d/eth[0|1]`` files will be
+created and enabled with DHCP networking.  If you do not wish this to
+be done, set ``DIB_APT_MINIMAL_CREATE_INTERFACES`` to ``0``.
+
 -------------------
 Note on ARM systems
 -------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/elements/debootstrap/install.d/10-debian-networking
 
new/diskimage-builder-2.21.0/diskimage_builder/elements/debootstrap/install.d/10-debian-networking
--- 
old/diskimage-builder-2.20.3/diskimage_builder/elements/debootstrap/install.d/10-debian-networking
  2019-02-28 07:49:08.000000000 +0100
+++ 
new/diskimage-builder-2.21.0/diskimage_builder/elements/debootstrap/install.d/10-debian-networking
  2019-04-04 09:05:37.000000000 +0200
@@ -24,15 +24,21 @@
 # It would be eversogreat if we didn't need to do crap like this
 echo $DISTRO_NAME > /etc/hostname
 
-# cloud images expect eth0 and eth1 to use dhcp.
-mkdir -p /etc/network/interfaces.d
-if ! grep -E -q '^source(|-directory) /etc/network/interfaces.d/\*' 
/etc/network/interfaces; then
-    echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces
-    echo 'Network configuration set to source /etc/network/interfaces.d/*'
-fi
-for interface in eth0 eth1; do
-    cat << EOF | tee /etc/network/interfaces.d/$interface
+# If you want eth0 and eth1 created as DHCP based interfaces, enable
+# this.  You don't want this if systemd is going to call the
+# interfaces on the real system something else, or if you're using a
+# network-manager like cloud-init, glean or systemd-networkd that will
+# handle the interfaces dynamically.
+if [[ "${DIB_APT_MINIMAL_CREATE_INTERFACES:-1}" -eq "1" ]]; then
+    mkdir -p /etc/network/interfaces.d
+    if ! grep -E -q '^source(|-directory) /etc/network/interfaces.d/\*' 
/etc/network/interfaces; then
+        echo "source /etc/network/interfaces.d/*" >> /etc/network/interfaces
+        echo 'Network configuration set to source /etc/network/interfaces.d/*'
+    fi
+    for interface in eth0 eth1; do
+        cat << EOF | tee /etc/network/interfaces.d/$interface
 auto $interface
 iface $interface inet dhcp
 EOF
-done
+    done
+fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro
 
new/diskimage-builder-2.21.0/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro
--- 
old/diskimage-builder-2.20.3/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro
      2019-02-28 07:49:08.000000000 +0100
+++ 
new/diskimage-builder-2.21.0/diskimage_builder/elements/lvm/root.d/10-lvm-check-distro
      2019-04-04 09:05:37.000000000 +0200
@@ -11,7 +11,7 @@
     exit 1
 fi
 
-if [ 'xenial' != $DIB_RELEASE ]; then
-    echo "Only xenial is supported for LVM support. The DIB_RELEASE is set to 
$DIB_RELEASE"
+if [[ ! $DIB_RELEASE =~ (xenial|bionic) ]]; then
+    echo "Only xenial and bionic are supported for LVM support. The 
DIB_RELEASE is set to $DIB_RELEASE"
     exit 1
 fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/elements/source-repositories/README.rst
 
new/diskimage-builder-2.21.0/diskimage_builder/elements/source-repositories/README.rst
--- 
old/diskimage-builder-2.20.3/diskimage_builder/elements/source-repositories/README.rst
      2019-02-28 07:49:08.000000000 +0100
+++ 
new/diskimage-builder-2.21.0/diskimage_builder/elements/source-repositories/README.rst
      2019-04-04 09:05:37.000000000 +0200
@@ -86,7 +86,7 @@
 
 *Element file: elements/custom-element/source-repository-ironic*::
 
-    ironic git /usr/local/ironic git://git.openstack.org/openstack/ironic.git
+    ironic git /usr/local/ironic https://git.openstack.org/openstack/ironic.git
 
 *File : elements/custom-element/source-repository-pbr*::
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder/lib/img-functions 
new/diskimage-builder-2.21.0/diskimage_builder/lib/img-functions
--- old/diskimage-builder-2.20.3/diskimage_builder/lib/img-functions    
2019-02-28 07:49:08.000000000 +0100
+++ new/diskimage-builder-2.21.0/diskimage_builder/lib/img-functions    
2019-04-04 09:05:37.000000000 +0200
@@ -39,8 +39,8 @@
 }
 
 function cleanup () {
-    dib-block-device umount
     unmount_image
+    dib-block-device umount
     cleanup_build_dir
     cleanup_image_dir
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder.egg-info/PKG-INFO 
new/diskimage-builder-2.21.0/diskimage_builder.egg-info/PKG-INFO
--- old/diskimage-builder-2.20.3/diskimage_builder.egg-info/PKG-INFO    
2019-02-28 07:50:11.000000000 +0100
+++ new/diskimage-builder-2.21.0/diskimage_builder.egg-info/PKG-INFO    
2019-04-04 09:06:59.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: diskimage-builder
-Version: 2.20.3
+Version: 2.21.0
 Summary: Golden Disk Image builder.
 Home-page: https://docs.openstack.org/diskimage-builder/latest/
 Author: OpenStack
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/diskimage-builder-2.20.3/diskimage_builder.egg-info/pbr.json 
new/diskimage-builder-2.21.0/diskimage_builder.egg-info/pbr.json
--- old/diskimage-builder-2.20.3/diskimage_builder.egg-info/pbr.json    
2019-02-28 07:50:11.000000000 +0100
+++ new/diskimage-builder-2.21.0/diskimage_builder.egg-info/pbr.json    
2019-04-04 09:06:59.000000000 +0200
@@ -1 +1 @@
-{"git_version": "0f8d340", "is_release": true}
\ No newline at end of file
+{"git_version": "36b4bc87", "is_release": true}
\ No newline at end of file


Reply via email to