-
Notifications
You must be signed in to change notification settings - Fork 16
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
Extend Linux writer #323
Extend Linux writer #323
Conversation
Pull Request Test Coverage Report for Build 1124306811
💛 - Coveralls |
a93f983
to
95bede3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks a lot.
# FIXME: Validation methods should only check values. Note that with the current implementation, | ||
# this method is taking care of setting/removing the user's password. This method should not | ||
# modify the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✔️ Public Jenkins job #63 successfully finished |
✔️ Internal Jenkins job #25 successfully finished |
Problem
Right now, the
Linux::Writer
class only supports (auto)installation and firstboot use cases. During the installation, users can only be created. And for firstboot and auto-installation, users can be edited too. In firstboot, even the name of the user can be changed when you go back, but theLinux::Writer
does not modify it in the system.Moreover, the root password is not properly deleted if you go back to the wizard step for setting the root password and remove password (only an authorized key is selected). This affects to both: installation and firstboot.
Solution
Extend
Linux::Writer
in order to support the use cases mentioning above.See also yast/yast-firstboot#127.
Testing