Re: get-boot-info

2019-12-13 Diskussionsfäden Thomas Lange
> On Fri, 13 Dec 2019 14:40:34 +0100, Szilard Matyas-Szegedi > said: > I might be missing something, but I don't see why that wait/poll section is necessary as in the next section you poll for default route to be available which will only be available if at least > an interface

Re: get-boot-info

2019-12-13 Diskussionsfäden Szilard Matyas-Szegedi
I might be missing something, but I don't see why that wait/poll section is necessary as in the next section you poll for default route to be available which will only be available if at least an interface other than loopback with an IP address is up. Of course theoretically it is possible that som

Re: get-boot-info

2019-12-12 Diskussionsfäden Thomas Lange
> On Wed, 11 Dec 2019 13:57:44 +0100, Szilard Matyas-Szegedi > said: > As dev is no longer used anywhere else from now on, the section getting it could be cleaned-up as well with the exception of the dummy variable: This section is still needed. It waits until an interface (execpt l

Re: get-boot-info

2019-12-11 Diskussionsfäden Szilard Matyas-Szegedi
As dev is no longer used anywhere else from now on, the section getting it could be cleaned-up as well with the exception of the dummy variable: # first get first active network device local dev dummy n n=0 until [ $n = 7 ]; do dev=$(ip ad show up | awk -F': ' '/^[0-9]/ &&

Re: get-boot-info

2019-12-11 Diskussionsfäden Szilard Matyas-Szegedi
Hi Thomas, Cool. Thank you. Szilard Thomas Lange ezt írta (időpont: 2019. dec. 11., Sze, 12:55): > You issue is now fixed in > > https://github.com/faiproject/fai/commit/b95d56084255d8512e16724f38aab726dc7fb9d3 > > > -- > regards Thomas >

AW: get-boot-info

2019-12-11 Diskussionsfäden Frank Morawietz
> You issue is now fixed Great, thank you Thomas! -- Frank Morawietz This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to an

Re: get-boot-info

2019-12-11 Diskussionsfäden Thomas Lange
You issue is now fixed in https://github.com/faiproject/fai/commit/b95d56084255d8512e16724f38aab726dc7fb9d3 -- regards Thomas

AW: get-boot-info

2019-12-11 Diskussionsfäden Frank Morawietz
> But in a particular case when interface with a proper IP setting (with > default gw) is happen to the second > interface and there is a dummy IP setting on the first active interface, > variables like IPADDR, NETMASK, > BROADCAST are filled and erroneously used with dummy IP info of the first

get-boot-info

2019-12-10 Diskussionsfäden Szilard Matyas-Szegedi
Hi Thomas, I don't know all particular aspects of the FAI design and I wouldn't like to have a say in how things should work. But in a particular case when interface with a proper IP setting (with default gw) is happen to the second interface and there is a dummy IP setting on the first active int

Re: Variable DOMAIN in get-boot-info ignored in case of IP as kernel parameter

2015-03-24 Diskussionsfäden Thomas Lange
out this - bug or not? Or is there another reason at all not seen by me? > This can be fixed by adding DOMAIN=$DOMAIN to setnet(). Hi Steven, thanks for the bug report. I've patched it theway you've recommended: diff --git a/lib/get-boot-info b/lib/get-boot-info index 01b5da

Variable DOMAIN in get-boot-info ignored in case of IP as kernel parameter

2015-03-23 Diskussionsfäden steven.w...@t-online.de
SSRVS=" + dnsserver + " DOMAIN=" + domain + " GATEWAYS=" + standgateway [...] Everything works fine except the domain variable. The reason ist the script "get-boot-info". In case if a static ip the domain isn't set to $bootlog. setnet() { # get network