Skip to content

Commit

Permalink
Mitigation fix for attended ionstallation regression (#4022)
Browse files Browse the repository at this point in the history
* fix attended installer break

* add comment and use macro to replace raw string

* fix go formatting error

Co-authored-by: Henry Li <[email protected]>
  • Loading branch information
2 people authored and PawelWMS committed Oct 14, 2022
1 parent 50936c1 commit 2f2540f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,8 @@ func (mp *ManualPartitionWidget) populateTable() (err error) {
mp.partitionTable.SetCell(tableHeaderRow, i, cell)
}

bootPartitionMountPoint, _, _, err := configuration.BootPartitionConfig(mp.bootType, mp.cfg.Disks[0].PartitionTableType)
// Hardcode to GPT only for now since all image configurations within Mariner are using GPT partition table type
bootPartitionMountPoint, _, _, err := configuration.BootPartitionConfig(mp.bootType, configuration.PartitionTableTypeGpt)
if err != nil {
return
}
Expand Down

0 comments on commit 2f2540f

Please sign in to comment.