| Summary: | nmcli: add support for getting and setting system hostname | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Dan Williams <dcbw> |
| Component: | NetworkManager | Assignee: | Jirka Klimes <jklimes> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | danw, dcbw, pvine, rkhan, thaller, vbenes |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | NetworkManager-0.9.9.0-28.git20131212.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 11:53:45 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dan Williams
2013-10-12 19:12:52 UTC
The code is up for a review in upstream branch jk/rh1018510-nmcli-hostname. looks mostly good to me. I pushed two minor fixups over your branch jk/rh1018510-nmcli-hostname. patch looks good. Not sure about Thomas's autocompletion support for it... presumably if you are setting the name, you're setting it to something new, so it doesn't make sense to autocomplete from anything... (In reply to Dan Winship from comment #4) > patch looks good. Not sure about Thomas's autocompletion support for it... > presumably if you are setting the name, you're setting it to something new, > so it doesn't make sense to autocomplete from anything... True, I was thinking that too. But the chances are, that the new name will be somewhat similar and/or that is has the same domain. Pushed to upstream master: ce370fa cli: add bash-completion for 'nmcli general hostname' 79ac1cf cli: add support for getting/setting hostname to nmcli (rh #1018510) I think the completion may be useful. Otherwise we can adapt/remove it later. [vbenes@svine ~]$ sudo nmcli general hostname prase [vbenes@svine ~]$ cat /etc/hostname prase This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |