Seite 1 von 2

bug in newprod

Verfasst: 18 Nov 2008, 12:28
von wardenik
opsi:~# newprod

then trying to select "netboot" product with a space and...

Traceback:
line 541 in '<module>' in file '/usr/bin/newprod'
line 94 in 'main' in file '/usr/bin/newprod'
==>>> Cancelled
ERROR: Cancelled

btw, any bug tracker for OPSI? :)

Re: bug in newprod

Verfasst: 18 Nov 2008, 13:10
von j.schneider
No, there is no bugtracker for opsi yet.
You can post bugs in the forum named "Bugs".
wardenik hat geschrieben: then trying to select "netboot" product with a space and...
Sorry I do not understand the problem, could you please explain what you tried exactly.

Re: bug in newprod

Verfasst: 18 Nov 2008, 13:39
von wardenik
just create a new netboot package.

Re: bug in newprod

Verfasst: 18 Nov 2008, 13:46
von j.schneider
Works...

Re: bug in newprod

Verfasst: 18 Nov 2008, 13:57
von wardenik
well, not for me.
setting localboot works
setting server works
setting netboot quits.

moreover,
newprod -i text
that works, but has another bug, a contrary one :P if you enter, you can't quit ;)
ctrl+c doesn't work, pressing enter loops around, only killing is the method.

Re: bug in newprod

Verfasst: 18 Nov 2008, 13:59
von wardenik
then more questions,
PXE config template: path to an custom linuxpxe config template.

what is that template? nothing in the docs.
dhcp template? pxelinux.cfg template?

thanks

Re: bug in newprod

Verfasst: 18 Nov 2008, 14:03
von j.schneider
It's a pxelinux.cfg template.
Take a look at our memtest product.

Re: bug in newprod

Verfasst: 19 Nov 2008, 11:27
von wardenik
thanks, works great!

one more thing. I need the "always" option for netboot products.
What opsi modifications do I have to do for that?
Now when I try to set "always" for a netboot product it says that there is no action setup defined.

thanks

Re: bug in newprod

Verfasst: 19 Nov 2008, 12:28
von j.schneider
The only usable action for netboot products is "setup".

Re: bug in newprod

Verfasst: 19 Nov 2008, 12:31
von wardenik
Erm, again.
I know.
I didn't ask what is usable, but what modifications to opsi engine I have to do to support always action as well.
You can suggest something to make digging inside easier :)