Skip to content

Commit

Permalink
Merge pull request #6085 from AdamWill/kickstart-label-bogus-warning
Browse files Browse the repository at this point in the history
Don't log a bogus warning when kickstart specifies a disk label
  • Loading branch information
jkonecny12 authored Jan 8, 2025
2 parents 1cc8004 + 8217f23 commit 91fe91a
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ def _get_initialization_config(self):
# Update the disk label.
disk_label = disk_init_proxy.DefaultDiskLabel

if disk_label and not DiskLabel.set_default_label_type(disk_label):
log.warning("%s is not a supported disklabel type on this platform. "
"Using default disklabel %s instead.", disk_label,
DiskLabel.get_platform_label_types()[0])
if disk_label:
DiskLabel.set_default_label_type(disk_label)

return config

Expand Down

0 comments on commit 91fe91a

Please sign in to comment.