[Ovirt-devel] Re: [PATCH node] Networking configuration support.
Alan Pevec
apevec at redhat.com
Wed Nov 12 22:50:52 UTC 2008
Darryl L. Pierce wrote:
> + IF_CONFIG="$IF_CONFIG\nset $IF_ROOT/ONBOOT yes"
> + IF_CONFIG="$IF_CONFIG\nsave"
> + BR_CONFIG="$BR_CONFIG\nset $BR_ROOT/ONBOOT yes"
> + BR_CONFIG="$BR_CONFIG\nsave"
no need to save after each i/f, just...
> +# Merge together all generated files and run augtool
> +
> +cat /var/tmp/augtool-* > /var/tmp/config-augtool
...here:
+ printf "\nsave" >> /var/tmp/config-augtool
> +augtool < /var/tmp/config-augtool
and:
+ service network restart
More information about the ovirt-devel
mailing list