I have a server with a single ethernet interface, eno1.
When booting to kernel-default, the interface is configured in
/etc/sysconfig/network/ifcfg-eno1 and gets brought up by the wicked networking
stack
If I switch to Xen, booting to kernel-xen, I can bring up the Dom0 in this
configuration too.
But for PV DomUs, I need a bridge interface to pass in vif=[...]
I know how to create & configure the bridge interface
(/etc/sysconfig/network/ifcfg-br0) to 'take over' eno1
I can't figure out how to create & use the bridge only conditionally -- in the
Xen-boot case.
In other words,
if boot to non-Xen, use intfc "eno1"
and,
if boot to Xen, use intfc "br0" instead
On my previous servers I'd use if-up & if-down scripts to handle it.
The up/down scripts don't seem to work with the opensuse wicked stack.
How do you handle conditional network configuration with wicked, depending on
which boot environment -- Xen or non-Xen -- you're booting to?
IIUC the advice has been to use opensuse networking config to setup the
interfaces.
To do this ^^ do you have to step outside the OS config?
LT
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]