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.
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.
James, Can you clarify why the ISO still needs to be mounted locally if I'm only going to use the distro tree at the remote URL? The import tool seems to scan some files in the distro to extract some information. Is that why it needs the ISO mounted locally? Can't it get the same information from the remote http URL given in the --available-as option? Thanks for your clarifications.
Balaji