seth vidal wrote:
> On Mon, 2008-10-27 at 21:36 +0000, Robin Bowes wrote:
>> Chris O'Regan wrote:
>>>> I want to know how best to make it available *without* doing that.
>>> You can drop it on a web server somewhere and wget the file.
>> Hmmm, a possibility; is wget guaranteed to be available in the
>> kickstart
>> environment?
>
> no but urlgrabber is there - it has to be for yum to work.
Ah, OK. That will work.
So, I can put initool on the cobbler server, e.g. in
http://example.com/cobbler/tools/ (yes, I created the "tools" directory)
then create a cobbler snippet:
urlgrabber
http://cobbler.example.com/cobbler/tools/initool /tmp/initool
chmod +x /tmp/initool
initool will then be available for use by the rest of the kickstart
script.
Thanks for all the input.
R.
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
IIRC the cobbler dir under /var/www/cobbler (think that is the default) is
recreated every time you run a cobbler sync. I ran into this when I placed
some files under cobbler/dir to use wget and noticed that the dir was
deleted after a syn.
I ended up creating a /var/www/html/scripts directory to hold my %post fun
-Ron