def _process_kickstart(self, ks_in): """Process the kickstart.""" storage_module = StorageService() handler = storage_module.get_kickstart_handler() parser = storage_module.get_kickstart_parser(handler) parser.readKickstartFromString(ks_in) self.module.process_kickstart(handler)
def _setup_kickstart(self): """Set up the kickstart.""" storage_module = StorageService() handler = storage_module.get_kickstart_handler() self.module.setup_kickstart(handler) return handler