Remove hardcoded sda references from RHEL 7.2
@@ -118,5 +118,5 @@ class PatchBootSystemState(OSEncryptionState):
'/etc/dracut.conf')
self.command_executor.Execute('/usr/sbin/dracut -I ntfs-3g -f -v', True)
- self.command_executor.Execute('grub2-install --recheck --force /dev/sda', True)
+ self.command_executor.Execute('grub2-install --recheck --force {0}'.format(self.rootfs_disk), True)
self.command_executor.Execute('grub2-mkconfig -o /boot/grub2/grub.cfg', True)
