[mythtv-users] mythbuntu-diskless - how to set client hostname?

Greg Oliver oliver.greg at gmail.com
Wed Dec 22 19:58:32 UTC 2010


On Wed, Dec 22, 2010 at 12:31 PM, Steven Adeff <adeffs.mythtv at gmail.com> wrote:
> On Wed, Dec 22, 2010 at 1:01 PM, Greg Oliver <oliver.greg at gmail.com> wrote:
>> On Wed, Dec 22, 2010 at 11:02 AM, Jim Stichnoth <stichnot at gmail.com> wrote:
>>> I'm moving to mythbuntu 10.04 (for the LTS aspect -- I build my own
>>> myth binaries from source) and I want to set up my 3 netbooting ION
>>> frontends as Mythbuntu-Diskless clients according to the instructions
>>> at http://www.mythbuntu.org/wiki/network-boot-mythbuntu-diskless .
>>> The only issue so far is that when the diskless client boots, it
>>> insists on settings its hostname as the MAC address.  A related issue
>>> is that it auto-generates an /etc/hosts file whereas I would like to
>>> use a system-wide hosts file.
>>>
>>> Does anyone have experience getting this to work "right"?  Or do I
>>> need to resort to something like overriding hostname and /etc/hosts in
>>> rc.local?
>>>
>>
>> I remember digging for this for a couple of hours when I wanted my
>> router to set my hostnames.  The config file is "inside" the chroot
>> environment.
>>
>> /etc/initramfs-tools/conf.d/ltsp
>>
>> change OVERLAYKEY="HOSTNAME"
>>
>> and rebuild the initrd - you'll be good to go and have friendly
>> hostnames again..
>>
>> -Greg
>
> would be good for this to be added to the wiki

Didn't know there was a mythtv wiki - the only page I ever referenced
when using ltsp a while ago was:

https://help.ubuntu.com/community/MythTV/Install/Hardy/Diskless

Although, I googled until my fingers hurt and never found where to set
the hostname config in ltsp v5, so a lot of grepping and trial and
error until I got it..  Teh default MAC address they use hurts the
eyes and makes config mgmt difficult.

> --> Steve


More information about the mythtv-users mailing list