Hostname in YaST Installer is set properly #1615
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR#11456 (FATE#319639)
This test makes sure that correct hostname is set during installation.
Basicly if no hostname comes from environment (DHCP), it's set to
"install".
Test cases covered (and to be implemented in openQA):
Test1
Start installation without additional param on kernel cmd line.
Check whether hostname 'install' is set.
http://assam.suse.cz/tests/2313#step/hostname_inst/5
Test2
Start installation with ifcfg=..., means set up a static network (without
dhcp).
Check whether hostname 'install' is set.
http://assam.suse.cz/tests/2317#step/hostname_inst/5
Test3
Start qemu with
-netdev user,hostname=myhostname
. Start installationifcfg=*=dhcp.
Check whether hostname is set to 'myhostname'.
http://assam.suse.cz/tests/2316#step/hostname_inst/5
Test4
Start installation with
hostname=myhostname
on kernel cmd line. Checkwhether hostname is set to 'myhostname'.
http://assam.suse.cz/tests/2312#step/hostname_inst/5