Fix up comments.

This commit is contained in:
Dimitri John Ledkov 2019-03-22 18:12:15 +00:00
parent 4e57c3152f
commit b1080b51a6
No known key found for this signature in database
GPG Key ID: E8E84908F903AFB5
1 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ class FilesystemController(BaseController):
size=PREP_GRUB_SIZE_BYTES, size=PREP_GRUB_SIZE_BYTES,
fstype=None, fstype=None,
mount=None), mount=None),
# must be wiped or grub-install will fail
wipe='zero', wipe='zero',
flag='prep') flag='prep')
else: else:
@ -248,7 +249,7 @@ class FilesystemController(BaseController):
fstype=None, fstype=None,
mount=None), mount=None),
flag='bios_grub') flag='bios_grub')
# should _not_ specify grub defice for prep # should _not_ specify grub device for prep
if not self.is_prep(): if not self.is_prep():
disk.grub_device = True disk.grub_device = True
return part return part