Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask for encryption passphrase when not specified in ks (#1185466) #174

Conversation

vojtechtrefny
Copy link
Contributor

New (and I hope better) version of #140

Kickstart installation fails when '--encrypted' is used without
specifying '--passphrase'. This patch marks the storage spoke as
unready and asks for a passphrase.

Resolves: rhbz#1185466

Signed-off-by: Vojtech Trefny vtrefny@redhat.com

@@ -330,7 +340,7 @@ def _doExecute(self):
hubQ.send_message(self.__class__.__name__, _("Failed to save storage configuration..."))
self.data.bootloader.bootDrive = ""
else:
if self.autopart:
if self.autopart or (flags.automatedInstall and (self.data.autopart.autopart or self.data.partition.seen)):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment below this line that self.run() is actually "run the storage check". That would make things a lot clearer, I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@vpodzime
Copy link
Contributor

vpodzime commented Jul 1, 2015

Looks good to me other than the suggestion above.

@vpodzime vpodzime added the ACK label Jul 1, 2015
Kickstart installation fails when '--encrypted' is used without
specifying '--passphrase'. This patch marks the storage spoke as
unready and asks for a passphrase.

Resolves: rhbz#1185466

Signed-off-by: Vojtech Trefny <vtrefny@redhat.com>
@vojtechtrefny
Copy link
Contributor Author

Pushed.

@vectorsigma
Copy link

Any chance of this bugfix making it into an Anaconda branch for Fedora? fedora 21 was broken like this too. (thanks for the RHEL fix though!)

@vojtechtrefny
Copy link
Contributor Author

@vectorsigma This will of course go to Fedora 23 (and newer) too.

Beacause we are not updating Fedora installation images, we can't update Anaconda in older versions of Fedora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants