On 06/29/2009 06:26 PM, Michael DeHaan wrote:
> Robert L Cochran wrote:
>    
>> On 06/29/2009 04:55 PM, Michael DeHaan wrote:
>>
>>      
>>> Robert L Cochran wrote:
>>>
>>>
>>>        
>>>> On 06/29/2009 10:25 AM, Michael DeHaan wrote:
>>>>
>>>>
>>>>
>>>>          
>>>>>> I should have used
>>>>>>
>>>>>> cobbler import --path=/var/www/html/fedorainstall --name=Fedora11
>>>>>> --arch=i386
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>              
>>>>> Don't do this. Use either a mounted DVD or an rsync mirror.
>>>>>
>>>>> --Michael
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>            
>>>> I'm a little confused. That path is indeed a mounted DVD...it's loop
>>>> mounted to /var/www/html/fedorainstall. Am I still doing this wrong?
>>>>
>>>> Bob
>>>>
>>>>
>>>>
>>>>
>>>>          
>>> Are you sure? Why would you mount a DVD under /var/www/html and not /mnt ?
>>>
>>>
>>>        
>> Oh, I see. Well if you mount the DVD under the web server's document
>> root, like this:
>>
>> mount -o loop /home/rlc/Download/Fedora-11-i386/Fedora-11-i386-DVD.iso
>> /var/www/html/fedorainstall
>>
>> Then of course you can install Fedora 11 to a machine over the network,
>> using the "medialess install" method discussed in the Fedora 11
>> installation guide.
>>      
>
> If you are using Cobbler, the whole purpose of such an application to do
> network installs, you should be using cobbler's instructions and not the
> Fedora 11 media guide.
> Just go with the Cobbler documentation.
>
>    
>> Also you can see a list of files and access the
>> entire document tree of the DVD and download those files over http if
>> you use this method. The Cobbler wiki simply suggests loop mounting the
>> DVD, the wiki doesn't say where exactly to mount it on. So I mounted it
>> on /var/www/html/fedorainstall as I was accustomed to, then I fed
>> cobbler this incantation:
>>
>>
>>      
> The import command will copy the content into web-readable space. It
> uses /var/www/cobbler, in fact, and already has Apache configured to
> serve content up out of this location.
>
> It also offers up numerous other services, such as a dynamic kickstart
> templating engine, that are served dynamically, not out of files.
> Anyway, the point of Cobbler is to be glue
> around things you need to do for installation purposes, so you don't
> need to know how to set those things up yourself.... this is one of
> those things.
>
>
>    
>> cobbler import --path=/var/www/html/fedorainstall --name=Fedora11 --arch=i386
>>
>> and that did indeed seem to generate quite a lot of cobbler output to the 
>> terminal. I can post screenshots or logfiles if those exist of what I'm 
>> talking about if I'm still being confusing.
>>
>>
>>      
>
> It posts a lot of output because it's creating the network accessible
> copy of the tree for you. IMHO it's not a good idea to leave ISOs
> mounted in webroot. That all being said, where you mounted it is
> unimportant, your import probably worked fine, in which case you can
> unmount it and will be good to go.
>
>    
>> Bob
>
Okay, thanks. No I am not following the Fedora Installation Guide in 
order to set up cobbler -- although it might be a good idea to have a 
chapter on cobbler in that guide. I mentioned the guide to explain why I 
mounted the DVD on the web server's document root. I simply picked that 
mount point, /var/www/html/fedorainstall because it is a habitual mount 
point I use and the cobbler instructions didn't specify a mount point 
for the `cobbler import --path[...] action.

You might want to take a look at this web page I put up that shows more 
detail about what I am seeing over here and what the log messages are 
saying. Like you say, I am pretty sure that the cobbler import statement 
worked properly.

http://www.greenbeltcomputer.biz/cobbler_import_v1.html

Many thanks and I apologise if I'm confusing you and others.

Bob


_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to