[Ovirt-devel] [PATCH node-image] Fix create-ovirt-iso-nodes to allow manual specification of network bridge to use

Perry Myers pmyers at redhat.com
Tue Jul 7 17:50:13 UTC 2009


On 07/07/2009 01:18 PM, Jason Guiditta wrote:
> On Tue, 2009-07-07 at 11:50 -0400, Perry Myers wrote:
>> On 07/07/2009 11:50 AM, Jason Guiditta wrote:
>>> On Sun, 2009-07-05 at 13:46 -0400, Perry Myers wrote:
>>>> Since create-ovirt-network script has been deprecated (was part of
>>>> ovirt-appliance repo) we can't default to bridge on the host of ovirtbr0 for
>>>> doing fake node testing.  So default to network:default and allow manual override
>>>> to something like bridge:breth0
>>> If create-ovirt-network is deprecated, is there another one we should
>>> use now for setting up the admin network bridge?  Or are we just going
>>> to do that manually now?
>>>
>> I think it just needs to be manual now.
>>
>> Perry
>
> Ok, if the way we did it in that script is the recommended way, I can
> put up a page on the wiki - if another way is better, someone please
> speak up (give directions!)

Simplest way is to create two ifcfg files with the following syntax:

:ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
TYPE=Ethernet
BRIDGE=breth0

:ifcfg-breth0
DEVICE=breth0
BOOTPROTO=dhcp
ONBOOT=yes
PEERDNS=yes
PEERROUTES=yes
TYPE=Bridge

That's pretty much it, tweak as necessary based on which real iface you 
want to use (ethX)

Perry




More information about the ovirt-devel mailing list