Setting hostname

#vim /etc/sysconfig/network

Use something like

HOSTNAME=testarossa.maranello.local

to overwrite the default name and domain of the server.

e.g.

NETWORKING=yes
HOSTNAME=testarossa.maranello.local

To avoid rebooting issue the following :

hostname  testarossa.maranello.local

That will set it for the current  session.

 

 

 

Has one comment to “Setting hostname”

You can leave a reply or Trackback this post.
  1. Hi Jeremy!You mentioned BoxGrinder in your post. I want defned it a bit here if you don’t mind.1. Over-complicationIt has a plugin architecture – you must install plugins you want to use. BoxGrinder does a lot of things. It does produce the base image, then this image can be converted to selected virtualization/cloud format and at the end the it can be delivered where you want (sftp, s3, cloudfront, etc). The goal is to have one tool that supports many virtualization/cloud platforms.2. Own formatOwn format was developed because BoxGrinder is meant not only for RHEL-family. The format is prepared to create appliances for other operating systems that don’t use kickstarts too. Fedora and Co. plugins were first because it was obvious to support own stuff first And I personally think YAML format is more readable for a normal user (not being a Fedora hacker) who is interested in getting job done. This format has also notion of inheritance where you can override for example partition scheme or hardware allocation. I don’t want to argue which format is better – they’re different to meet different kind of problems.Funny, but I commited yesterday support for native definition files (), especially for kickstart files: 3. Executing appliance-creatorYes, I agree with this point. If there is a way to use OS native installer (see ) I’ll use it.P.S. No – I don’t took you post as offensive.Thank you!

Write a Reply or Comment

Your email address will not be published.