[ovirt-users] vdsm keeps removing BOOTPROTO=dhcp from ifcfg-ovirtmgmt
Jakub Niedermertl
jniederm at redhat.com
Tue Aug 11 11:04:52 UTC 2015
Hi all,
I'd like my ovirtmgmt bridge to fetch ip address from dhcp, but vdsm keeps removing 'BOOTPROTO=dhcp' from /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt.
I set the file as follows:
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
BOOTPROTO=dhcp
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
call 'sudo systemctl restart network' and ip address is successfully assigned. Then reboot the machine and ip address is not fetched and ifcfg-ovirtmgmt looks like this
# Generated by VDSM version 4.17.0-1240.git487a19e.fc22
DEVICE=ovirtmgmt
TYPE=Bridge
DELAY=0
STP=off
ONBOOT=yes
MTU=1500
DEFROUTE=no
NM_CONTROLLED=no
IPV6INIT=no
HOTPLUG=no
Is there any way how to prevent vdsm from removing BOOTPROTO statement or make ovirtmgmt to work with dhcp?
Environment:
Host: runs in virt-manager vm, Fedora 22
vdsm: 4.17.0-1240.git487a19e.fc22 from http://resources.ovirt.org/pub/ovirt-3.6-pre/rpm/fc$releasever/
Thanks.
Jakub
More information about the Users
mailing list