On Tue, Dec 18, 2012 at 5:10 PM, Pierre Casenove <[email protected]>wrote:
> Hello list, > The RHN predefined macro rhn.system.hostname allows you to get the FQDN of > a client. > In order to manage the /etc/hosts file on some hosts, I would like to get > the FQDN and the short name. > How could I perform this? > > How about "cut -d. -f 1" from the FQDN? Regards, Jørgen
_______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
