def ready_base_for_install(self): "this is a default process" set_root_passwd(self.target, myline) make_interfaces_simple(self.target) devices = self.helper.get_raid_devices() if devices: create_mdadm_conf(self.target, devices)
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')