--- pyanaconda/kickstart.py | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 287be38..176bbfc 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -257,7 +257,7 @@ class AutoStep(commands.autostep.FC3_AutoStep): flags.autostep = 1 flags.autoscreenshot = self.autoscreenshot -class Bootloader(commands.bootloader.F15_Bootloader): +class Bootloader(commands.bootloader.F17_Bootloader): def execute(self): if self.location == "none": location = None @@ -300,6 +300,11 @@ class Bootloader(commands.bootloader.F15_Bootloader): self.anaconda.bootloader.drive_order = self.driveorder + if self.bootDrive: + spec = udev_resolve_devspec(self.bootDrive) + drive = self.anaconda.storage.devicetree.getDeviceByName(spec) + self.anaconda.bootloader.stage1_drive = drive + self.anaconda.dispatch.skip_steps("upgbootloader", "bootloader") class ClearPart(commands.clearpart.FC3_ClearPart): -- 1.7.3.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list