| Summary: | Hostname display shorter than what set in kickstart file after automatic installation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Wei Wang <weiwang> | ||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 7.2 | CC: | bmcclain, bugs, cshao, fdeutsch, huiwa, huzhao, leiwang, yaniwang, ycui | ||||
| Target Milestone: | pre-dev-freeze | ||||||
| Target Release: | 7.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-05-04 15:07:47 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Node | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 1329957 | ||||||
| Attachments: |
|
||||||
Add some more info: # cat /etc/sysconfig/network-scripts/ifcfg-ens3 #Generated by parse-kickstart IPV6INIT=yes DHCP_HOSTNAME=rhev1.example.com BOOTPROTO=dhcp DEVICE=ens3 ONBOOT=yes UUID=a6969329-8894-4d63-a735-a7cd524449a8 Considering bug 1329943 I'd say this is not a bug, because a.b.c is not hostname, but a FQDN. The hostname is just a string without a dot, thus a in the example above. And according to comment 0 after installation the part before the first dot is used as the hostname, which is correct. |
Created attachment 1146707 [details] hostname ks file Description of problem: Hostname display shorter than what I have set in kickstart file, after automatic installation. Version-Release number of selected component (if applicable): ovirt-node-ng-installer-ovirt-3.6-2016041120.iso ovirt-node-4.0.0 How reproducible: 100% Steps to Reproduce: 1. Automatic install a vm with kickstart file(hostname is set to `rhev1.example.com`) in attachment 2. After installation and reboot 3. check the hostname with below CLI 1). #hostname 2). #hostname --all-fqdns Actual results: "rhev1" displayed as hostname, shorter than what have set in kickstart file. Expected results: "rhev1.example.com" displayed, same as what have set in kickstart file Additional info: