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

Class Ubuntu

source code

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

Instance Methods
 
__init__(self, vm)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
register_settings(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
 
install(self, destdir)
Install the distro into destdir
source code
 
post_mount(self, fs)
Called each time a filesystem is mounted to let the distro add things to the filesystem
source code
 
install_bootloader(self) source code

Inherited from distro.Distro: has_xen_support

Inherited from Plugin: deploy, install_from_template, post_install, register_options

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

Class Variables
  name = 'Ubuntu'
  arg = 'ubuntu'
  suites = ['dapper', 'feisty', 'gutsy', 'hardy', 'intrepid']
  valid_archs = {'amd64': ['amd64', 'i386', 'lpia'], 'i386': ['i...
Properties

Inherited from object: __class__

Method Details

__init__(self, vm)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

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)

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

valid_archs

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