forked from canonical/subiquity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filesystem: reset-partition size bug
In python, bool is a subclass of int so we can't use isinstance to check if the user specified a size for the reset partition. This causes autoinstall with "reset-partition: True" and "reset-partition-only: true" to crash the installer due to creating a reset-partition of size 1 (LP: #2061042).
- Loading branch information
1 parent
396e4d5
commit 652f732
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters