Package VMBuilder :: Module hypervisor :: Class Hypervisor
[frames] | no frames]

Class Hypervisor

source code

    object --+        
             |        
plugins.Plugin --+    
                 |    
    distro.Context --+
                     |
                    Hypervisor
Known Subclasses:

Nested Classes
  NIC

Inherited from plugins.Plugin: BooleanSetting, IntSetting, ListSetting, Setting, SettingGroup, StringSetting

Instance Methods
 
__init__(self, distro)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
add_disk(self, *args, **kwargs)
Adds a disk image to the virtual machine
source code
 
add_filesystem(self, *args, **kwargs)
Adds a filesystem to the virtual machine
source code
 
convert_disks(self, disks, destdir) source code
 
finalise(self, destdir) source code
 
install_os(self) source code
 
mount_partitions(self, mntdir)
Mounts all the vm's partitions and filesystems below .rootmnt
source code
 
unmount_partitions(self)
Unmounts all the vm's partitions and filesystems
source code

Inherited from distro.Context: add_clean_cb, add_clean_cmd, call_hooks, cancel_cleanup, cleanup, register_hook

Inherited from plugins.Plugin: get_setting, get_setting_default, get_setting_valid_options, has_setting, install_file, install_from_template, post_install, preflight_check, register_options, run_in_target, set_defaults, set_setting, set_setting_default, set_setting_fuzzy, set_setting_valid_options, setting_group

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  preferred_storage = 0

Inherited from plugins.Plugin: priority

Properties

Inherited from object: __class__

Method Details

__init__(self, distro)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)