Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix booting a raw image on XenServer
Fixes bug 1055413. ImageType.from_string removed, as it was only used by its test. Introduced ImageType.get_role, that returns the image's role within the VM. In case of DISK_* image types, the role is always 'root'. Role should be the key when accessing the vdis dictionary. Change-Id: Ieb952a9246d06a8280510113a98b888237abcc65
- Loading branch information
Mate Lakat
committed
Sep 25, 2012
1 parent
13a08f6
commit 8f0e472
Showing
2 changed files
with
33 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters