Package VMBuilder :: Package plugins :: Package ubuntu :: Module distro :: Class Ubuntu
[frames] | no frames]

Class Ubuntu

source code

object --+            
         |            
    Plugin --+        
             |        
distro.Context --+    
                 |    
     distro.Distro --+
                     |
                    Ubuntu

Nested Classes

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

Instance Methods
 
register_options(self) source code
 
set_defaults(self) source code
 
preflight_check(self)
While not all of these are strictly checks, their failure would inevitably lead to failure, and since we can check them before we start setting up disk and whatnot, we might as well go ahead an do this now.
source code
 
bootstrap(self) source code
 
configure_os(self) source code
 
configure_networking(self, nics) source code
 
configure_mounting(self, disks, filesystems) source code
 
install(self, destdir)
Install the distro into destdir
source code
 
install_vmbuilder_log(self, logfile, rootdir)
Let the distro copy the install logfile to the guest
source code
 
post_mount(self, fs)
Called each time a filesystem is mounted to let the distro add things to the filesystem
source code
 
use_virtio_net(self) source code
 
install_bootloader_cleanup(self, chroot_dir) source code
 
install_kernel(self, destdir) source code
 
install_bootloader(self, chroot_dir, disks) source code
 
xen_kernel_version(self) source code
 
xen_kernel_initrd_path(self, which) source code
 
xen_kernel_path(self) source code
 
xen_ramdisk_path(self) source code
 
get_ec2_kernel(self) source code
 
get_ec2_ramdisk(self) source code
 
disable_hwclock_access(self) source code
 
apply_ec2_settings(self) source code
 
has_256_bit_inode_ext3_support(self) source code
 
preferred_filesystem(self) source code

Inherited from distro.Distro: __init__, build_chroot, has_xen_support, set_chroot_dir

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

Inherited from Plugin: get_setting, get_setting_default, get_setting_valid_options, has_setting, install_file, install_from_template, post_install, run_in_target, 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
  name = 'Ubuntu'
  arg = 'ubuntu'
  suites = ['dapper', 'gutsy', 'hardy', 'intrepid', 'jaunty', 'k...
  valid_archs = {'amd64': ['amd64', 'i386', 'lpia'], 'i386': ['i...
  xen_kernel = ''

Inherited from Plugin: priority

Properties

Inherited from object: __class__

Method Details

register_options(self)

source code 
Overrides: Plugin.register_options

set_defaults(self)

source code 
Overrides: Plugin.set_defaults

preflight_check(self)

source code 

While not all of these are strictly checks, their failure would inevitably lead to failure, and since we can check them before we start setting up disk and whatnot, we might as well go ahead an do this now.

Overrides: Plugin.preflight_check

install(self, destdir)

source code 

Install the distro into destdir

Overrides: distro.Distro.install
(inherited documentation)

install_vmbuilder_log(self, logfile, rootdir)

source code 

Let the distro copy the install logfile to the guest

Overrides: distro.Distro.install_vmbuilder_log
(inherited documentation)

post_mount(self, fs)

source code 

Called each time a filesystem is mounted to let the distro add things to the filesystem

Overrides: distro.Distro.post_mount
(inherited documentation)

Class Variable Details

suites

Value:
['dapper',
 'gutsy',
 'hardy',
 'intrepid',
 'jaunty',
 'karmic',
 'lucid',
 'maverick',
...

valid_archs

Value:
{'amd64': ['amd64', 'i386', 'lpia'],
 'i386': ['i386', 'lpia'],
 'lpia': ['i386', 'lpia']}