[lxc-devel] Hostname setting in Fedora template

Michael H. Warfield mhw at WittsEnd.com
Thu Apr 11 15:38:57 UTC 2013


On Wed, 2013-04-10 at 20:22 +0200, Thomas Moschny wrote:
> Hi,

> Fedora systems using systemd should use /etc/hostname instead of
> /etc/sysconfig/network (the HOSTNAME=... setting), cf.
> https://bugzilla.redhat.com/show_bug.cgi?id=881785

> So, we should probably change the lxc-fedora template to use this.

I already have my nose into the Fedora template working on some patches.
I see no problem with doing that.  In fact, there should be no conflict
in setting both files since earlier versions would ignore /etc/hostname
and systemd really doesn't care if it exists in both.  My upgraded
Fedora systems, now running F17 having been upgraded from F14 and
earlier, are running quite nicely and assigning the proper name
from /etc/sysconfig/network, so systemd seems to be compatible with
each.

I can add that as part of my patches. 

Comments?

> - Thomas

Regards,
Mike

> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Lxc-devel mailing list
> Lxc-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-devel
> 

-- 
Michael H. Warfield (AI4NB) | (770) 985-6132 |  mhw at WittsEnd.com
   /\/\|=mhw=|\/\/          | (678) 463-0932 |  http://www.wittsend.com/mhw/
   NIC whois: MHW9          | An optimist believes we live in the best of all
 PGP Key: 0x674627FF        | possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20130411/abf8fdf4/attachment.pgp>


More information about the lxc-devel mailing list