Hello All,

I have a quick question that I couldn't find answered in the list already.   In 
my environment I need to boot multiple different types of distro's 
tree/image/iso etc.   One of my image boots has issues with the ipappend 2 
(Which works as expected with everything else) line that is added by the 
default pxeprofile.template file.   After doing a dumpvars, I noticed a 
pxe_template_dir variable and I would like to know if is possible to set  
profile to use a different pxeprofile.template something like.

cobbler profile edit --name <NAME> --pxe_template 
/etc/cobbler/pxe/pxeprofile_X.template

I tried editing the pxe_template_dir and got no love.
mkdir /etc/cobbler/pxe/pxe_X
cp pxeprofile.template pxe_X/
edit pxeprofile.template (remove ipappend 2)

cobbler profile edit --name X --pxe_template_dir=/etc/cobbler/pxe/pxe_X
usage: cobbler [options]

cobbler: error: no such option: --pxe_template_dir

Or perhaps I was thinking/wondering something like

LABEL $profile_name
        kernel $kernel_path
        $menu_label
        $append_line
#if $profile != X
        ipappend 2
#end if

Thanks,
Brian Kosick

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

Reply via email to