[Ovirt-devel] [PATCH node] Moved network configuration work files to a temporary directory.

Chris Lalancette clalance at redhat.com
Tue Nov 18 07:01:18 UTC 2008


Perry Myers wrote:
>> cf="$WORKDIR/config-augtool"
>> { cat "$WORKDIR"/augtool-* && printf "save\n"; } > "$cf" \
>>   && augtool < "$cf"
>>
>>>  service network restart
>>>  } > $CONFIG_LOG_FILE 2>> $CONFIG_LOG_FILE
>> I really, really prefer not to program in shell.
> 
> Agreed.  Unfortunately our choices on the Node are limited due to efforts 
> to keep image size small.  The options are C and bash presently.
> 
> Perhaps we should investigate what the cost would be to put *minimal* 
> python environment on the Node.  Just core libraries and interpreter. 
> Doing this we could eventually replace this bash stuff with python which 
> is a little more maintainable :)

It's pretty big, the last time I looked.  You'll have to go through it again to
find out exact numbers, but "minimal" and "Python" really don't belong in the
same sentence.

-- 
Chris Lalancette




More information about the ovirt-devel mailing list