Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-30 Thread Zarko Dudic

Hi, the resolution is actually simple.

The line like:

ks=http://cobbler-server/cblr/svc/op/ks/system/system-to-be-installed

has to be added as Kernel Options in System's General tab.



___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-30 Thread Orion Poplawski

On 10/23/2015 03:30 PM, Zarko Dudic wrote:

Hallo, I've been using cobbler 2.6.9 and would like to check if this
behaviors is expected.

Basically, there is a system with associated kickstart file (added via
systems – general – kickstart) and clicking on “view kickstart” all
looks well. But once the server boots and hits the cobble, installation
fails since kickstart file cannot be found.

Then the line ks=http:///cblr/svc/op/ks/system/

ia added to the end of “append” in the file
/var/lib/tftpboot/pxelinux.cfg/ and this resolves the
installation problem.

Also each time a system is updated and saved via web interface, the
ks=http:///cblr/svc/op/ks/system/ is gone. Is
this all expected?


Sorry, your english is a little hard to parse.

Did you enable netboot/pxeinstall for the system?  Doing that should 
generate a system specific file in /var/lib/tftpboot/pxelinux.cfg file 
based on /etc/cobbler/pxe/pxesystem.template which should look like:


default linux
prompt 0
timeout 1
label linux
kernel $kernel_path
ipappend 2
$append_line


The append_line will be generated by cobbler with the ks= option.


--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-30 Thread Zarko Dudic
Yes, netboot has been enabled. I found resolution or work around and it 
is to have line like:


ks=http://cobbler-server/cblr/svc/op/ks/system/system-to-be-installed

... as Kernel Options in System's General tab.

On 10/30/2015 6:47 PM, Orion Poplawski wrote:


Sorry, your english is a little hard to parse.

Did you enable netboot/pxeinstall for the system?  Doing that should 
generate a system specific file in /var/lib/tftpboot/pxelinux.cfg file 
based on /etc/cobbler/pxe/pxesystem.template which should look like:


default linux
prompt 0
timeout 1
label linux
kernel $kernel_path
ipappend 2
$append_line


The append_line will be generated by cobbler with the ks= option.




--
Thanks,
Zarko

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-27 Thread Nishanth Aravamudan
On 26.10.2015 [12:15:00 -0700], Zarko Dudic wrote:
> The kickstart file is specific for the system, added via web
> interface Systems - General - Kickstart and it's verified by
> selecting Systems - View Kickstart.

Ok, so you generally either want system-specific kickstarts or let the
system inherit it from the profile you assign to a system (e.g., to
install that system with that profile (OS)) -- at least, in my
understanding.

> Fair enough that Cobbler updates files in /var/lib/tftboot on sync,
> but why any kickstart info is missing?

What OS are you using? Did you use `cobbler import` to add it? Not every
OS needs ks=. I thought I was being pretty clear when I asked for more
details, but please indicate your full use-case from start to end.

> In general, users I support reinstall the OS all the time, so it's
> crucial for them to use kickstart with specified network parameters,
> all I need to do on DHCP is to have the next-server pointing to
> Cobbler.

Ok? I'm not sure what this has to do with the issue, but thank you for
clarifying your use-case.

> As of kickstart associated to the profile, it's again done via web
> interface Profiles - Edit - General - Kickstart.
> And once server pxe-boot and hits Cobbler and profile is selected,
> the installation fails since the kickstart info is missing.
> 
> It would be great if some has has done similar exercise or have some
> best practices in mind.

To know what "similar exercises" are, or "best practices" would be, you
*must* provide some actual information. So far, your messages have been
fairly vague.

-Nish

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-26 Thread Zarko Dudic
The kickstart file is specific for the system, added via web interface 
Systems - General - Kickstart and it's verified by selecting Systems - 
View Kickstart.


Fair enough that Cobbler updates files in /var/lib/tftboot on sync, but 
why any kickstart info is missing?
In general, users I support reinstall the OS all the time, so it's 
crucial for them to use kickstart with specified network parameters, all 
I need to do on DHCP is to have the next-server pointing to Cobbler.


As of kickstart associated to the profile, it's again done via web 
interface Profiles - Edit - General - Kickstart.
And once server pxe-boot and hits Cobbler and profile is selected, the 
installation fails since the kickstart info is missing.


It would be great if some has has done similar exercise or have some 
best practices in mind.


Thanks


On 10/23/2015 3:04 PM, Nishanth Aravamudan wrote:

On 23.10.2015 [14:30:15 -0700], Zarko Dudic wrote:

Hallo, I've been using cobbler 2.6.9 and would like to check if this
behaviors is expected.

Basically, there is a system with associated kickstart file (added
via systems ??? general ??? kickstart) and clicking on ???view
kickstart??? all looks well. But once the server boots and hits the
cobble, installation fails since kickstart file cannot be found.

Then the line ks=http:///cblr/svc/op/ks/system/

Interesting, I've not messed much with the server kickstart file. Is
that specified for the system, or the profile associate with the system
currently?


ia added to the end of ???append??? in the file
/var/lib/tftpboot/pxelinux.cfg/ and this resolves the
installation problem.

Also each time a system is updated and saved via web interface, the
ks=http:///cblr/svc/op/ks/system/ is gone.
Is this all expected?

well, yes, I mean Cobbler is updating that file in /var/lib/tftpboot on
sync.


Another thing is with kickstart file associated with a profile.

For example, the command ???cobbler profile report
???name=??? shows line:

Kickstart : /var/lib/cobbler/kickstarts/sysadmin_default.ks

??? and when system boots and profile is selected from the menu,
installation fails, I guess because ???ks=??? is missing from the
file /var/lib/tftpboot/pxelinux.cfg/default.

Yes, something seems off. I think we need more details.

-Nish



--
Thanks,
Zarko

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Reference to kickstart file is missing from /var/lib/tftpboot/pxelinux.cfg/* files

2015-10-23 Thread Nishanth Aravamudan
On 23.10.2015 [14:30:15 -0700], Zarko Dudic wrote:
> Hallo, I've been using cobbler 2.6.9 and would like to check if this
> behaviors is expected.
> 
> Basically, there is a system with associated kickstart file (added
> via systems ??? general ??? kickstart) and clicking on ???view
> kickstart??? all looks well. But once the server boots and hits the
> cobble, installation fails since kickstart file cannot be found.
> 
> Then the line ks=http:///cblr/svc/op/ks/system/

Interesting, I've not messed much with the server kickstart file. Is
that specified for the system, or the profile associate with the system
currently?

> ia added to the end of ???append??? in the file
> /var/lib/tftpboot/pxelinux.cfg/ and this resolves the
> installation problem.
> 
> Also each time a system is updated and saved via web interface, the
> ks=http:///cblr/svc/op/ks/system/ is gone.
> Is this all expected?

well, yes, I mean Cobbler is updating that file in /var/lib/tftpboot on
sync.

> Another thing is with kickstart file associated with a profile.
> 
> For example, the command ???cobbler profile report
> ???name=??? shows line:
> 
> Kickstart : /var/lib/cobbler/kickstarts/sysadmin_default.ks
> 
> ??? and when system boots and profile is selected from the menu,
> installation fails, I guess because ???ks=??? is missing from the
> file /var/lib/tftpboot/pxelinux.cfg/default.

Yes, something seems off. I think we need more details.

-Nish

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler