def ready_base_for_install(self): # run ready_base_for_install from chroot installer first ChrootInstaller.ready_base_for_install(self) self.log.info('checking for raid devices') raid_devices = self.helper.get_raid_devices() if raid_devices: self.log.info('raid devices found') create_mdadm_conf(self.target, raid_devices) else: self.log.info('no raid devices found')
def __init__(self, conn): ChrootInstaller.__init__(self, conn) # the processes are mostly the same as in the # ChrootInstaller self._processes = list(DEFAULT_PROCESSES) pmap = dict(setup_disks=self.setup_disks, mount_target=self.mount_target, install_fstab=self.install_fstab, install_modules=self.install_modules, install_kernel=self.install_kernel ) self._process_map.update(pmap) self.machine = MachineHandler(self.conn) self.helper = None self._target_mounted = False self._disks_setup = False
def __init__(self, conn): ChrootInstaller.__init__(self, conn) self.type = 'chroot'
def ready_base_for_install(self): self.check_target_mounted() # run ready_base_for_install from chroot installer first ChrootInstaller.ready_base_for_install(self)