distribution detection
Bug #1745235 reported by
Robert Schweikert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Robert Schweikert |
Bug Description
Upstream Python has deprecated platform.
Options are to use an external module [2] or implement logic in cloud-init to detect the distribution.
During a brief IRC discussion on January 24th, 2018, started at 3:39:23 P.M. EST it was concluded that cloud-init should not have a dependency on the external distro module.
[1] https:/
[2] https:/
Related branches
~chad.smith/cloud-init:ubuntu/devel
- cloud-init Commiters: Pending requested
-
Diff: 871 lines (+394/-79)16 files modifiedcloudinit/config/cc_mounts.py (+1/-1)
cloudinit/handlers/upstart_job.py (+1/-1)
cloudinit/sources/DataSourceAltCloud.py (+8/-8)
cloudinit/sources/DataSourceNoCloud.py (+2/-2)
cloudinit/sources/DataSourceOpenNebula.py (+1/-1)
cloudinit/sources/DataSourceSmartOS.py (+41/-5)
cloudinit/tests/test_util.py (+77/-1)
cloudinit/util.py (+38/-5)
debian/changelog (+11/-2)
doc/rtd/topics/datasources.rst (+97/-0)
doc/rtd/topics/datasources/cloudstack.rst (+20/-6)
doc/rtd/topics/datasources/ec2.rst (+30/-0)
doc/rtd/topics/datasources/openstack.rst (+6/-2)
packages/suse/cloud-init.spec.in (+21/-42)
setup.py (+14/-3)
tests/unittests/test_datasource/test_smartos.py (+26/-0)
~rjschwei/cloud-init:noLnxDistro
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 222 lines (+127/-7)3 files modifiedcloudinit/tests/test_util.py (+77/-1)
cloudinit/util.py (+36/-3)
setup.py (+14/-3)
Changed in cloud-init: | |
status: | New → In Progress |
assignee: | nobody → Robert Schweikert (rjschwei) |
importance: | Undecided → Medium |
To post a comment you must log in.
An upstream commit landed for this bug.
To view that commit see the following URL: /git.launchpad. net/cloud- init/commit/ ?id=bbcc5e82
https:/