[Ovirt-devel] Re: [PATCH recipe] Move logic for appliance setup from kickstart to recipe

Perry Myers pmyers at redhat.com
Wed Nov 12 13:48:21 UTC 2008


Alan Pevec wrote:
> Perry Myers wrote:
>> +++ b/appliances/ovirt/templates/ovirt-server-appliance-setup.erb
> ...
>> +# Import cobbler profiles
>> +/usr/sbin/cobbler-import
>> +
>> +# TODO use Augeas 0.3.0 Inifile lens
>> +sed -i -e "s/^module = authn_denyall.*/module = authn_configfile/" \
>> +    /etc/cobbler/modules.conf
>> +sed -i -e "s/^server:.*/server: '192.168.50.2'/" \
>> +    -e "s/^next_server:.*/next_server: '192.168.50.2'/" \
>> +    /etc/cobbler/settings
>> +sed -i -e '/kernel /a \\tIPAPPEND 2' /etc/cobbler/pxesystem.template
>> +sed -i -e "s/^ONTIMEOUT.*/ONTIMEOUT $(cat /tmp/cobbler-default)/" \
>> +    /etc/cobbler/pxedefault.template
> 
> few issues here:
> - cobbler-import needs cobbler running and ACE runs at 95 while cobbler 
> comes later at 99
>  previously we were doing cobbler-import in S99local
> - cobbler-import should be run _after_ cobbler config is modified
> - /tmp/cobbler-default is MIA, previously it was set in ks %post
> 

Whoops.  Missed that in my smoke testing.  I'll fix these post patch to 
correct.

Thanks,

Perry

-- 
|=-        Red Hat, Engineering, Emerging Technologies, Boston        -=|
|=-                     Email: pmyers at redhat.com                      -=|
|=-         Office: +1 412 474 3552   Mobile: +1 703 362 9622         -=|
|=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|




More information about the ovirt-devel mailing list