Remove use of 'vconfig' command in devstack ironic script
In favor of using the equivalent 'ip' command. Change-Id: If70ce5c5fff2fc2c30ce4b40c6e90c95821d29ab Closes-Bug: #1633586
This commit is contained in:
parent
729dcf6737
commit
3c54dd54c6
@ -570,7 +570,7 @@ function configure_ironic_provision_network {
|
||||
# Add vlan on br interface in case of IRONIC_PROVISION_PROVIDER_NETWORK_TYPE==vlan
|
||||
# othervise assign ip to br interface directly.
|
||||
if [[ "$IRONIC_PROVISION_PROVIDER_NETWORK_TYPE" == "vlan" ]]; then
|
||||
sudo vconfig add $OVS_PHYSICAL_BRIDGE $IRONIC_PROVISION_SEGMENTATION_ID
|
||||
sudo ip link add link $OVS_PHYSICAL_BRIDGE name $OVS_PHYSICAL_BRIDGE.$IRONIC_PROVISION_SEGMENTATION_ID type vlan id $IRONIC_PROVISION_SEGMENTATION_ID
|
||||
sudo ip link set dev $OVS_PHYSICAL_BRIDGE.$IRONIC_PROVISION_SEGMENTATION_ID up
|
||||
sudo ip addr add dev $OVS_PHYSICAL_BRIDGE.$IRONIC_PROVISION_SEGMENTATION_ID $IRONIC_PROVISION_SUBNET_GATEWAY/$provision_net_prefix
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user