def post_install(self): print 'post_install' modules = self.machine.get_modules() print 'installing modules', modules setup_modules(self.target, modules) print 'modules installed' kernel = self.machine.current.kernel print 'installing kernel', kernel install_kernel(kernel, self.target) print 'kernel installed'
def post_install(self): print "post_install" modules = self.machine.get_modules() print "installing modules", modules setup_modules(self.target, modules) print "modules installed" kernel = self.machine.current.kernel print "installing kernel", kernel install_kernel(kernel, self.target) print "kernel installed"
def install_modules(self): "this is a default process" modules = self.machine.get_modules() setup_modules(self.target, modules)
def install_modules(self, name): modules = str2list(self.get(name)) print 'installing modules', modules, 'to %s/etc/modules' % self.target setup_modules(self.target, modules)