tftp options

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

tftp options

Beitragvon SisterOfMercy » 14 Jun 2017, 02:44

If I update opsi the tftp files get changed.

For instance, this file: /tftpboot/linux/pxelinux.cfg/default.menu
I always have to change this line:

Code: Alles auswählen

append initrd=miniroot-x64.bz2 video=vesa:ywrap,mtrr vga=791 quiet splash --no-log console=tty1 console=ttyS0

I change it so it looks like this:

Code: Alles auswählen

append initrd=miniroot-x64.bz2 video=vesa:ywrap,mtrr vga=791 lang=en --no-log console=tty1 console=ttyS0


If I do not set lang=en I get the german version of the bootimage. Great, but not really workable for me.
I also remove quiet and splash, because sometimes the whole thing hangs and I can see it hangs on something, and restart the whole thing.

Is there a standard way to change these values so I do not have to change it every once in a while?
Or make it some sort of property that allows you to set the language and whether or not quiet and splash is enabled.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
m.radtke
Beiträge: 567
Registriert: 10 Jun 2015, 12:19

Re: tftp options

Beitragvon m.radtke » 14 Jun 2017, 16:51

hi

you can use the bootimage.append within the host-parameters

Cheers
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

Re: tftp options

Beitragvon SisterOfMercy » 14 Jun 2017, 17:27

That would work for lang=en, but I hope noquiet and nosplash override the normal quiet and splash options.
I am going to test this out, will report back.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

Re: tftp options

Beitragvon SisterOfMercy » 14 Jun 2017, 17:58

m.radtke hat geschrieben:you can use the bootimage.append within the host-parameters


This seems to work on the named pipes (01-macaddress), but the default.menu does not seem to get updated.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
ueluekmen
Beiträge: 1867
Registriert: 28 Mai 2008, 10:53

Re: tftp options

Beitragvon ueluekmen » 21 Jun 2017, 11:20

That's right, you have to patch the default-Files manually.
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.
http://www.uib.de

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

Re: tftp options

Beitragvon SisterOfMercy » 22 Jun 2017, 20:12

That's why this topic is in this subforum :D :D
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
n.wenselowski
Beiträge: 2712
Registriert: 04 Apr 2013, 12:15

Re: tftp options

Beitragvon n.wenselowski » 03 Jul 2017, 17:22

Hi,

I don't see us updating the default files.
Could it help for your case if we'd set quiet and splash through the host parameters and make our default entry smaller?

This probably would be something to discuss internally before attempting to do so but I see it's appeal.


With kind regards

Niko
Kein Support per DM!
_________________________
opsi support - uib gmbh
For productive opsi installations we recommend support contracts.

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

Re: tftp options

Beitragvon SisterOfMercy » 04 Jul 2017, 00:42

n.wenselowski hat geschrieben:Could it help for your case if we'd set quiet and splash through the host parameters and make our default entry smaller?


Yes, that would work for those things. However, this does not change the language, and I can read German, but not every international customer is able to.
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!

Benutzeravatar
SisterOfMercy
Beiträge: 875
Registriert: 22 Jun 2012, 19:18

Re: tftp options

Beitragvon SisterOfMercy » 04 Jul 2017, 00:53

By teh way, what's wrong with running a little bit of sed when these options are set? I really wish I could code this for you, but my skills with sed and awk are terrible :( :(
Bitte schreiben Sie Deutsch, when I'm responding in the German-speaking part of the forum!