Package VMBuilder :: Package plugins :: Package firstscripts :: Class Firstscripts
[frames] | no frames]

Class Firstscripts

source code

object --+    
         |    
    Plugin --+
             |
            Firstscripts

Plugin to provide --firstboot and --firstlogin scripts capabilities

Instance Methods
 
register_options(self) source code
 
preflight_check(self)
Override this method with checks for anything that might cause the VM creation to fail
source code
 
post_install(self)
This is called just after the distro is installed, before it gets copied to the fs images.
source code

Inherited from Plugin: __init__, deploy, install_from_template, set_defaults

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

Class Variables
  name = 'First-Scripts plugin'
Properties

Inherited from object: __class__

Method Details

register_options(self)

source code 
Overrides: Plugin.register_options

preflight_check(self)

source code 

Override this method with checks for anything that might cause the VM creation to fail

raise an exception if you can see already that this won't work

Overrides: Plugin.preflight_check
(inherited documentation)

post_install(self)

source code 

This is called just after the distro is installed, before it gets copied to the fs images.

Overrides: Plugin.post_install
(inherited documentation)