Merge ~redriver/cloud-init:fix-ifdown-for-frbsd-on-Azure into cloud-init:master
Proposed by
Hongjiang Zhang
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | 4558e3d1448d29697a094a638b8f5b5b0c9ca8a8 | ||||
Merged at revision: | ea0a534d93544837e44d03e3394233d28c247f7d | ||||
Proposed branch: | ~redriver/cloud-init:fix-ifdown-for-frbsd-on-Azure | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
16 lines (+5/-0) 1 file modified
cloudinit/sources/DataSourceAzure.py (+5/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
cloud-init Commiters | Pending | ||
Review via email:
|
Commit message
replace ifdown/ifup with "ifconfig down" and "ifconfig up" on FreeBSD
Fix the issue caused by different commands on Linux and FreeBSD. On Linux, we used ifdown and ifup to enable and disable a NIC, but on FreeBSD, the counterpart is "ifconfig down" and "ifconfig up"
LP: #1697815
To post a comment you must log in.
FAILED: Continuous integration, rev:945ef848ecd ee7b58f57264a1b af4baaad282036 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 533/ /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- amd64/533/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- arm64/533/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- ppc64el/ 533/console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=metal- s390x/533/ console /jenkins. ubuntu. com/server/ job/cloud- init-ci/ nodes=vm- i386/533/ console
https:/
Executed test runs:
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
FAILURE: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 533/rebuild
https:/