Archlinux Bugs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Unassigned |
Bug Description
This is a copy of an existing bug report, except the patch is created from the latest master and by myself who has signed the Canonical agreement.
Taken from: https:/
I needed to patch a few places in distros/arch.py to get cloud-init to work on Arch. This is with an OpenNebula-based cloud, but that shouldn't matter. In /etc/cloud/
I checked against current trunk version of distros/arch.py. There's 3 issues in arch.py that this patch fixes (in order of appearance in the patch):
1. The loopback device is returned as an entry by net_util.
2. The netctl command expects its profile files to be named /etc/netctl/
3. The function convert_
Related branches
- Server Team CI bot: Approve (continuous-integration)
- Rich Lees (community): Approve (visual, basic testing)
- cloud-init Commiters: Pending requested
-
Diff: 193 lines (+125/-31)3 files modifiedcloudinit/distros/arch.py (+59/-31)
tests/unittests/test_distros/__init__.py (+21/-0)
tests/unittests/test_distros/test_arch.py (+45/-0)
Changed in cloud-init: | |
status: | Confirmed → Fix Committed |
Hi,
I'd put a bit of work into the arch code (discussion that lead to it at [1]).
See my branch [2] which I'm pretty sure fixes '2' and '3' above, and adds some unit tests that can be extended to fix and validate '1'.
I can add the change for '1' , and submit a merge proposal if you (Rich) will review and validate.
-- /code.launchpad .net/~powersj/ cloud-init/ +git/cloud- init/+merge/ 327914 /code.launchpad .net/~smoser/ cloud-init/ +git/cloud- init/+ref/ bug/1663045- archlinux- empty-dns
[1] https:/
[2] https:/