downgraded to 2.0.11 and imports work as expected
[root@srvr conf.d]# cobbler import --path=/mnt/iso/SL-62-x86_64
--name=SL-62-x86_64 --available-as=http://_URL_/scientific6-64
task started: 2012-03-05_115812_import
task started (id=Media import, time=Mon Mar 5 11:58:12 2012)
adding distros
scanning /mnt/iso/SL-62-x86_64/images/pxeboot for distro signature
scanning /mnt/iso/SL-62-x86_64/images for distro signature
scanning /mnt/iso/SL-62-x86_64 for distro signature
found content (breed=redhat) at /m
creating new distro: SL-62-x86_64
creating new profile: SL-62-x86_64
associating kickstarts
scanning /mnt/iso/SL-62-x86_64/images/pxeboot for distro signature
scanning /mnt/iso/SL-62-x86_64/images for distro signature
scanning /mnt/iso/SL-62-x86_64 for distro signature
found content (breed=redhat) at /m
*** TASK COMPLETE ***
On 3/5/2012 11:35 AM, Ronald J. Yacketta wrote:
All,
Has something changed in the latest Cobbler release? Previously I was
able to run the following from the command line WITHOUT cobbler
sucking down the entire repo:
cobbler import --path=/mnt/iso/SL-62-x86_64 --name=SL-62-x86_64
--available-as=http://_URL_/scientific6-64
Just ran that command this morning and cobbler sucked down the entire
repo into /var/www/cobbler/ks_mirror/SL-62-x86_64, I thought
--available-as prevented such nonsense.
from the man page:
Note that all of the import commands will mirror install tree content
into /var/www/cobbler unless a network accessible location is given
with --available-as.
The URL provided is valid, I can use lynx and wget on it from the
cobbler server.
Thoughts?
Cobbler:
Installed Packages
Name : cobbler
Arch : noarch
Version : 2.3.1
Release : 1.el6
Size : 2.2 M
OS: CentOS release 6.2 (Final)
-Ron
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler