Merge lp:~ack/landscape-client/container-info-from-run-container-type into lp:~landscape/landscape-client/trunk
Proposed by
Alberto Donato
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alberto Donato | ||||
Approved revision: | 738 | ||||
Merged at revision: | 739 | ||||
Proposed branch: | lp:~ack/landscape-client/container-info-from-run-container-type | ||||
Merge into: | lp:~landscape/landscape-client/trunk | ||||
Diff against target: |
77 lines (+19/-43) 2 files modified
landscape/lib/tests/test_vm_info.py (+13/-31) landscape/lib/vm_info.py (+6/-12) |
||||
To merge this branch: | bzr merge lp:~ack/landscape-client/container-info-from-run-container-type | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Geoff Teale (community) | Approve | ||
Free Ekanayaka (community) | Approve | ||
Review via email: mp+190899@code.launchpad.net |
Commit message
This changes container detection to use /run/container_type (which is created by /etc/init/
Description of the change
This changes container detection to use /run/container_type (which is created by /etc/init/
This fixes the issue with the current LXC detection on Saucy and supports other types of containers too (openvz, vserver, ...).
To post a comment you must log in.
Looks good, +1!