On 13 July 2012 20:41, James Cammarata <j...@sngx.net> wrote:
> On Fri, Jul 13, 2012 at 5:57 PM, Parthasarathy, Balaji (BCS,
> Cupertino, USA) <balaji.parthasara...@hp.com> wrote:
>> I’m running cobbler 2.0.11 on F16.
>>
>> When I try to cobbler import as follows:
>>
>> cobbler import --path=/tmp/RHEL6.2-Server-x86_64-Local
>> --name=RHEL6.2-Server-x86_64-Remote --arch=x86_64
>> --available-as=http://<some_server>/distros/RHEL6.2-Server-x86_64
>>
>> the command doesn’t do anything. The below command works.
>>
>> cobbler import --path=/tmp/RHEL6.2-Server-x86_64-Local
>> --name=RHEL6.2-Server-x86_64-Remote --arch=x86_64
>> --available-as="nfs://<some_server>:/var/www/html/distros/RHEL6.2-Server-x86_64"
>>
>> How do I do the same with http?
>
> Do you have the ISO mounted at /tmp/RHEL6.2-Server-x86_64-Local?
>
> When you use --available-as, you need to still have some files locally
> if the path is HTTP or FTP. Download the ISO and mount it, and
> --available-as means the files will not be copied from the ISO to
> locally.

This is what I used with cobbler 2.2.2 on rhel 6.2:

cobbler import --path=/srv/www/repos.server/mirrors/SL/6.2/x86_64/os
--breed=redhat --name=SL-6.2-x86_64
--available-as=http://repos.server/mirrors/SL/6.2/x86_64/os

where cobbler was running on the same machine serving up the distro
via http. It did seem odd to me at the time that to get it to work I
had to use --path.

HTH
jonathan.



> _______________________________________________
> cobbler-devel mailing list
> cobbler-devel@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler-devel
_______________________________________________
cobbler-devel mailing list
cobbler-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel

Reply via email to