Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not return an error if ifdown fails
Ubuntu versions prior to 16.04 always returned a successful exit status, even if one tried to down an interface that does not exist. This behavior changed in Ubuntu 16.04 to return an error. This commit preserves the old behavior. Fixes GH-7155
- Loading branch information
0505771
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
0505771
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 here too—hopefully this is in a release soon, as for now, I have to manually add in an
eth1
declaration in/etc/network/interfaces
in my Packer build for Ubuntu Xenial 16.04, which is then overridden by Vagrant.0505771
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mitchellh When will this be in an release?
0505771
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need a fix for this.
0505771
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
release please.