On Tue, Feb 19, 2013 at 12:44 PM, Velez, Eddie <[email protected]> wrote: > I tried different ways to add boot files via command line I still only get > one entry. Can you send me correct way of doing this please. > > cobbler distro edit --name=Citrix-6.0.2 > --boot-files=/tftpboot/images/Citrix-6.0.2/=/var/www/cobbler/ks_mirror/Citrix-6.0.2/install.img' > > '/tftpboot/images/Citrix-6.0.2/=/var/www/cobbler/ks_mirror/Citrix-6.0.2/boot/vmlinuz >
Do not put quotes around individual items, quotes go around the entire argument, like this: cobbler distro edit --name=centos6.3-x86_64 --boot-files='\ /tftpboot/images/Citrix-6.0.2/=/var/www/cobbler/ks_mirror/Citrix-6.0.2/install.img \ /tftpboot/images/Citrix-6.0.2/=/var/www/cobbler/ks_mirror/Citrix-6.0.2/boot/vmlinuz' Or, for a short example: --boot-files='dst1=src1 dst2=src2 dst3=src3' Cobbler uses the python shlex module to parse these strings. Please be sure to use that for future reference on quoting strings properly, for example if your file names have a space in them. _______________________________________________ cobbler mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/cobbler
