-
Notifications
You must be signed in to change notification settings - Fork 355
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
Warn on invalid host name in kickstart (#1897514) #3135
Warn on invalid host name in kickstart (#1897514) #3135
Conversation
/packit build |
/kickstart-test --testtype smoke |
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.
I have some suggestions.
Please, write a unit test for this use case. |
37a58c3
to
b067306
Compare
Waiting for pykickstart PR. If unblocked and to be continued, tests are still TODO. |
Not doing pykickstart, so not blocked. |
b067306
to
356a1e2
Compare
/kickstart-test --testtype smoke |
Update: Logic is now in |
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.
I have some suggestions.
tests/nosetests/pyanaconda_tests/modules/network/module_network_kickstart_test.py
Outdated
Show resolved
Hide resolved
Do that instead of crashing with no message. Resolves: rhbz#1897514
356a1e2
to
4fd7b99
Compare
Thank you, done. |
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.
It looks great. Thanks!
/kickstart-test --testtype smoke |
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.
Looks good to me.
Do that instead of crashing.
Resolves: rhbz#1897514
I have no idea where to put that warning? Or maybe I could use the stock pykickstart one. Opinions welcome.Pinging @jstodola because it changes behavior, from crashing to... something.