Merge ~mskalka/charm-helpers:ovs-veth-fix into charm-helpers:master

Proposed by Michael Skalka
Status: Needs review
Proposed branch: ~mskalka/charm-helpers:ovs-veth-fix
Merge into: charm-helpers:master
Diff against target: 15 lines (+4/-0)
1 file modified
charmhelpers/contrib/network/ovs/__init__.py (+4/-0)
Reviewer Review Type Date Requested Status
VCS imports Pending
Review via email: mp+343431@code.staging.launchpad.net

Description of the change

When Juju sets up a node's interfaces it removes the line 'source etc/network/interfaces.d/*' from e/n/i. This prevents anything put into e/n/i.d/ from being 'ifup'd like the code a few lines down from the change.

This simply opens e/n/i and appends the line before trying to add the veth interface.

To post a comment you must log in.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: