-
Notifications
You must be signed in to change notification settings - Fork 995
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
Fixes #38168 - Add hostname parameter to kickstart kernel params #10423
base: develop
Are you sure you want to change the base?
Conversation
Hey @ShimShtein With your change, I was getting the same behavior/issue. Please, let me share the change that was necessary to fix this issue.
In anaconda documentation link, we can see the way to set the fqdn, when using dhcp
Thank you! |
3ab2648
to
5bbec79
Compare
Thanks @waldirio ! |
@@ -67,7 +67,7 @@ description: | | |||
end | |||
options.push("dualstack!") if subnet4 && subnet6 | |||
if subnet4 && subnet4.dhcp_boot_mode? | |||
options.push("ip=dhcp") if rhel_compatible && major >= 7 | |||
options.push("ip=::::#{hostname}::dhcp") if rhel_compatible && major >= 7 |
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.
Note to myself, from the docs:
Technically all of the items are optional, so if you want to use dhcp but also set a hostname you can use ip=::::::dhcp.
https://anaconda-installer.readthedocs.io/en/latest/boot-options.html
This will force proper hostname during the installation phase