Merge lp:~ack/landscape-client/fix-vivid-lxc-detection into lp:~landscape/landscape-client/trunk
Proposed by
Alberto Donato
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Alberto Donato | ||||
Approved revision: | 819 | ||||
Merged at revision: | 819 | ||||
Proposed branch: | lp:~ack/landscape-client/fix-vivid-lxc-detection | ||||
Merge into: | lp:~landscape/landscape-client/trunk | ||||
Diff against target: |
78 lines (+33/-11) 2 files modified
landscape/lib/tests/test_vm_info.py (+27/-9) landscape/lib/vm_info.py (+6/-2) |
||||
To merge this branch: | bzr merge lp:~ack/landscape-client/fix-vivid-lxc-detection | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Geoff Teale (community) | Approve | ||
Fernando Correa Neto (community) | Approve | ||
Review via email: mp+258484@code.launchpad.net |
Commit message
This fixes container detection on Vivid hosts.
With the switch to systemd, the /run/container_type is no longer created (unless init-system-helpers is installed), so container detection fails.
The same information is also available in /run/systemd/
Description of the change
This fixes container detection on Vivid hosts.
With the switch to systemd, the /run/container_type is no longer created (unless init-system-helpers is installed), so container detection fails.
The same information is also available in /run/systemd/
To post a comment you must log in.
Looks great! (and it works too) +1