Merge lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-oddbloke into lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm

Proposed by Dan Watkins
Status: Merged
Approved by: Francis Ginther
Approved revision: no longer in the source branch.
Merged at revision: 788
Proposed branch: lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-oddbloke
Merge into: lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm
Diff against target: 11 lines (+1/-1)
1 file modified
templates/img-extra-nets.tmpl (+1/-1)
To merge this branch: bzr merge lp:~ubuntu-on-ec2/vmbuilder/jenkins_kvm-oddbloke
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Philip Roche Approve
Review via email: mp+329385@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) wrote :

Called out in https://bugs.launchpad.net/lansing/+bug/1711406/comments/3 that this changes behavior for non-SRIOV instances as well.

Revision history for this message
Steve Langasek (vorlon) :
review: Needs Information
Revision history for this message
Dan Watkins (oddbloke) wrote :

On Wed, Aug 23, 2017 at 12:39:29AM -0000, Steve Langasek wrote:
> This is the driver used on Azure and is hyperv-specific. It is a backwards-compatible change *only* on Azure; on all other clouds, this will disable dhcp on supplementary interfaces. Is this code used in any other images currently besides Azure? The only reference to it is in azure_config.sh, so maybe we're in the clear.

The code is cargo-culted to other cloud build scripts, but I don't
believe that this is re-used anywhere.

Revision history for this message
Philip Roche (philroche) wrote :

+1. Appears to do what is intended

review: Approve
Revision history for this message
Steve Langasek (vorlon) :
review: Approve
Revision history for this message
Francis Ginther (fginther) wrote :
788. By Francis Ginther

Only perform DHCP on hv_netvsc interfaces on Azure (LP: #1711406)
[a=daniel-thewatkins][r=vorlon,philroche]

MP: https://code.launchpad.net/~ubuntu-on-ec2/vmbuilder/jenkins_kvm-oddbloke/+merge/329385

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'templates/img-extra-nets.tmpl'
--- templates/img-extra-nets.tmpl 2016-11-15 10:03:57 +0000
+++ templates/img-extra-nets.tmpl 2017-08-22 19:42:19 +0000
@@ -84,7 +84,7 @@
84 # Place an udev rule to call the script when an net device is added84 # Place an udev rule to call the script when an net device is added
85 cat << EOF > ${mp}/etc/udev/rules.d/10-net-device-added.rules85 cat << EOF > ${mp}/etc/udev/rules.d/10-net-device-added.rules
86# Run /usr/local/sbin/ephemeral_eth.sh every time a network device is added86# Run /usr/local/sbin/ephemeral_eth.sh every time a network device is added
87ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth[1-9]*", RUN="/usr/local/sbin/ephemeral_eth.sh %k"87ACTION=="add", SUBSYSTEM=="net", DRIVERS=="hv_netvsc", KERNEL=="eth[1-9]*", RUN="/usr/local/sbin/ephemeral_eth.sh %k"
88EOF88EOF
89}89}
9090

Subscribers

People subscribed via source and target branches

to all changes: