Re: HOSTNAME in nfsroot boot is FQDN

2017-06-12 Diskussionsfäden Justin Cattle
Thanks Afif - that's good extra info. Cheers, Just On 9 June 2017 at 04:52, Afif Elghraoui wrote: > I had asked the same question here a few months ago here; I know you got > it figured out already, so I'm just posting the link for reference: > > https://lists.uni-koeln.de/pipermail/linux-fai

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Justin Cattle
Found an old thread on this as well: https://lists.uni-koeln.de/pipermail/linux-fai/2014-April/010368.html I really cant believe Dracut has this - I may create an issue on github, see what they are saying.. Cheers, Just On 8 June 2017 at 21:46, Justin Cattle wrote: > Aha - it is dracut - I

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Afif Elghraoui
I had asked the same question here a few months ago here; I know you got it figured out already, so I'm just posting the link for reference: https://lists.uni-koeln.de/pipermail/linux-fai/2016-November/011565.html regards Afif

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Justin Cattle
Aha - it is dracut - I've just found this! https://bugzilla.redhat.com/attachment.cgi?id=535417&action=diff Disappointing - hostnames with with a "." aren't even valid are they ? Cheers, Just On 8 June 2017 at 21:43, Justin Cattle wrote: > Thanks for the input John. > Glad to here it's not

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Justin Cattle
Thanks for the input John. Glad to here it's not just me :) I could implement some workarounds in the various scripts, that's true. I've been doing some digging, and although I don't have the real answer yet, I don't believe it's a FAI problem as such, it's something about the NFSROOT OS. In m

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden John G Heim
I posted about this problem approximately a year ago. I poked around in the source code a little but finally just made a workaround by adding a line to my class script: echo "${HOSTNAME}" | sed s/\.math\.wisc\.edu// So you end up with classes for both the fqdn and the hostname. The only probl

Re: HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Justin Cattle
Actually, I just found that HOSTNAME is not in /tmp/fai/boot.log That is strange, as I can see it's configured on the dhcp server, and the dhcp server hasn't changed. The only change is a FAI 5 nfsroot. Cheers, Just On 8 June 2017 at 10:40, Justin Cattle wrote: > Hi, > > > I've been testing

HOSTNAME in nfsroot boot is FQDN

2017-06-08 Diskussionsfäden Justin Cattle
Hi, I've been testing migrating to fai 5 from 4. I'm currently using fai-5.3.6, on Ubuntu xenial, but with a Debian stretch nfsroot [ due to lack of dracut support in ubuntu ]. When I build a host, the boot all works ok and the build process starts fine. However, the hostname of the instance is