Package virtualization :: Module start_domain
[hide private]
[frames] | no frames]

Module start_domain

source code

Functions [hide private]
 
start_domain(uuid)
Boots the domain for the first time after installation is complete.
source code
 
_prepare_guest_kernel_and_ramdisk(config)
Use PyGrub to extract the kernel and ramdisk from the given disk image.
source code
 
_extract_image_paths_from_pygrub_output(output)
Searches for the paths of the kernel and initrd files in the output of pygrub.
source code
Variables [hide private]
  PYGRUB = "/usr/bin/pygrub"
Function Details [hide private]

_extract_image_paths_from_pygrub_output(output)

source code 

Searches for the paths of the kernel and initrd files in the output of pygrub. If not found, a VirtualizationException is raised. Otherwise, the (kernel_path, initrd_path) tuple is returned.