Debian maintainer has committed the patch ^. [1]

Next step is to make sure Artful has the fix now, and then the SRU for
all affected supported stable releases can start.

Trent, feel free to contact me once Artful has the change, and I'll
sponsor the SRU.

[1] - Debian 
Commit :
0347300 initramfs: populate PROTO= entry in /run/net-*.conf from iBFT


# git show 0347300
commit 034730044a5f9f1557b7a5a26d3ef9fdc69fdf79
Author: Christian Seiler <[email protected]>
Date:   Sun Jul 2 17:50:11 2017 +0200

    initramfs: populate PROTO= entry in /run/net-*.conf from iBFT
    
    When booting from iBFT, set the PROTO= entry in /run/net-*.conf
    accordingly, so that other tools, such as cloud-init, can use that
    information. (cloud-init fails if the current PROTO=none is used.)
    
    Closes: #866213

diff --git a/debian/extra/initramfs.local-top b/debian/extra/initramfs.local-top
index 93f4c6f..1045c50 100755
--- a/debian/extra/initramfs.local-top
+++ b/debian/extra/initramfs.local-top
@@ -159,6 +159,13 @@ do_iscsi_login ()
                                iface.primary_dns)   IPV4DNS0="${v}" ;;
                                iface.secondary_dns) IPV4DNS1="${v}" ;;
                                iface.net_ifacename) DEVICE="${v}" ;;
+                               iface.bootproto)
+                                       case "${v}" in
+                                               DHCP)   PROTO="dhcp"   ;;
+                                               STATIC) PROTO="static" ;;
+                                               *)      PROTO="${v}"   ;;
+                                       esac
+                                       ;;
                        esac
                done
        fi

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1684039

Title:
  iBFT network configuration does not correctly populate PROTO=dhcp in
  /run/net-*.conf which breaks cloud-init

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-iscsi/+bug/1684039/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to