I am attempting to add a KVM guest image to cobbler as described on this page:
https://fedorahosted.org/cobbler/wiki/KoanVirtualImageCloning

Specifically, I ran this command:

[r...@ron-a ~]# cobbler image add --name=ron-c --virt-cpus=2
--virt-ram=1024 --file=nfs://sam-a/tank/nfs/cobbler_images/ron-c.raw
--network-count=1 --image-type=virt-clone --virt-bridge=cobbler
--virt-type=qemu
usage: cobbler [options]

Which gave me the error:
cobbler: error: option --image-type: invalid choice: 'virt-clone'
(choose from 'iso', 'direct', 'virt-image')


I then changed the image-type to try to avoid this message:
[r...@ron-a ~]# cobbler image add --name=ron-c --virt-cpus=2
--virt-ram=1024 --file=nfs://sam-a/tank/nfs/cobbler_images/ron-c.raw
--network-count=1 --image-type=virt-image --virt-bridge=cobbler
--virt-type=qemu

Which gave me this error:
cobbler.cexceptions.CX:"image type must be 'direct', 'iso', or 'virt-clone'"

So now I am confused...


My host is running CentOS 5.5.   I installed cobbler from EPEL or
EPELtesting repos using yum.  Cobbler version is:

cobbler-2.0.5-1.el5.noarch

Can anyone offer some help on getting this to work?

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

Reply via email to