work around:
export OCF_ROOT=/usr/lib/ocf export OCF_RESKEY_state=active /usr/lib/ocf/resource.d/platform/mtcAgent start /usr/lib/ocf/resource.d/platform/mtcAgent status
OAM_IF=enp7s1 MGMT_IF=enp7s2 IFNET_UUIDS=$(system interface-network-list controller-0 | awk '{if ($6=="enp7s1" || $6=="enp7s2") print $4;}') for UUID in $IFNET_UUIDS; do system interface-network-remove ${UUID} done system interface-network-assign controller-0 $OAM_IF oam system interface-network-assign controller-0 $MGMT_IF mgmt system interface-network-assign controller-0 $MGMT_IF cluster-host
work around:
export OCF_ROOT= /usr/lib/ ocf state=active ocf/resource. d/platform/ mtcAgent start ocf/resource. d/platform/ mtcAgent status
export OCF_RESKEY_
/usr/lib/
/usr/lib/
OAM_IF=enp7s1 $(system interface- network- list controller-0 | awk '{if ($6=="enp7s1" || $6=="enp7s2") print $4;}') network- remove ${UUID} network- assign controller-0 $OAM_IF oam network- assign controller-0 $MGMT_IF mgmt network- assign controller-0 $MGMT_IF cluster-host
MGMT_IF=enp7s2
IFNET_UUIDS=
for UUID in $IFNET_UUIDS; do
system interface-
done
system interface-
system interface-
system interface-