← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~chad.smith/cloud-init:azure-no-ifupdown into cloud-init:master

 

The proposal to merge ~chad.smith/cloud-init:azure-no-ifupdown into cloud-init:master has been updated.

Description changed to:

azure: Don't bounce network with ifdown ifup when those tools don't exist

This fixes a traceback when attempting to bounce the network after
hostname resets.

In artful and bionic ifupdown package is no longer installed in
cloudimages.  As such, Azure can't use those tools to bounce the network
informing DDNS about hostname changes. This doesn't appear to affect DDNS
updates though because systemd-networkd is already watching hostname and
defaults to SendHostname=True during all dhcp upon hostname deltas which
posts updates to DDNS for us.

This branch also fixes two use-cases unhandled by the prerequisite branch:
  - In lxc's ip -o link list returns interface alias information such as
    eth0@if37 which needs to be truncated as we try to complete network
device information
  - In Azure, host target routes and gateways need to be handled

LP: #1722668

For more details, see:
https://code.launchpad.net/~chad.smith/cloud-init/+git/cloud-init/+merge/335465
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~chad.smith/cloud-init:azure-no-ifupdown into cloud-init:master.


References