bug in newprod

Benutzeravatar
j.schneider
uib-Team
Beiträge: 1801
Registriert: 29 Mai 2008, 15:14

Re: bug in newprod

Beitrag von j.schneider »

This is not a trivial modification.
If you need this enhancement, we could implement it for you.
Should we write an offer?
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

Hi,

Well, looking at the source, it doesn't seem a big hassle.
But yes, maybe not an official offer, but just an unofficial price for that :)
Thanks.
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: bug in newprod

Beitrag von d.oertel »

Hi wardenik,

I have some problems to give you the exact price because j.schneider
is in holidays right now and will be back in 3 weeks.
In order to have a always switch for netboot products
we have not only to modify opsi-newprod but also the opsipxeconfd
and some of the opsi libraries.
So I think the minimum will be one day (640 €).
But this is no offer.
You will get a well calculated price when j.schneider is back.

Meanwhile a workaround:
Switching a netboot product to setup creates a pipe in /tftpboot/linux/pxelinux.cfg .
If you cat these pipe to a file and rename the file to the name of the pipe,
these netboot product act like 'always'.

does this help ?

regards

detlef oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

hi,

thanks.
this is a workaround that requires logging in to a console which is not good.
but there are a lot simpler ways to do that.
one is just to write a script for cron that checks if a netproduct is always state, and if so, that makes sure that the PXE link is there and if not, recreate it.
as simple as that.

the same is (i think) with opsi itself. this is (for now, because I didn't have time to check that thoroughly) a one line change in a place that unlinks the pxe config to check if it is not an 'always' setup. but I will check that later :)
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

it wasn't that bad after all, took me one day to go through the code...
Patch for "always" for netboot product is attached :-)
Dateianhänge
opsipxeconfd.diff.txt
(2.12 KiB) 105-mal heruntergeladen
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: bug in newprod

Beitrag von d.oertel »

Hi wardenik,

thank you for the patch.

I think j.schneider will review and inetgrate it.

regards

detlef oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

Oh, I can see the patch has been rewritten and the feature implemented. thanks :)
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

erm, one more thing, opsi-adminutils package
http://download.uib.de/opsi3.3/produkte/essential/
has not been refreshed ...
Benutzeravatar
wolfbardo
uib-Team
Beiträge: 1354
Registriert: 01 Jul 2008, 12:10

Re: bug in newprod

Beitrag von wolfbardo »

Hi
wardenik hat geschrieben:erm, one more thing, opsi-adminutils package
http://download.uib.de/opsi3.3/produkte/essential/
has not been refreshed ...
just uploaded opsi-adminutils_3.3.1-1.opsi

to

http://download.uib.de/opsi3.3/produkte ... al/testing

for the moment (because the stable opsi-version 3.3 is in the etch repository, the lenny repository is 'unstable' and opsi-packages for unstable in http://download.uib.de/opsi3.3/produkte ... al/testing

we plan to release an update to opsi 3.3.1 in 1-2weeks

regards

Bardo Wolf


OPSICONF 2024
https://opsi.org/en/opsiconf/

Basisworkshop Mainz :

17. - 20. 06. 2024


opsi support - uib gmbh
For productive opsi installations we recommend maintainance + support contracts which are the base of opsi development.

http://www.uib.de
wardenik
Beiträge: 65
Registriert: 27 Okt 2008, 12:22

Re: bug in newprod

Beitrag von wardenik »

Antworten