8. Deploying a baremetal overcloud from a virtual machine undercloud¶
- The following set up steps are run on the virthost machine to allow the undercloud VM
- to PXE boot the overcloud nodes:
8.1. Set up the virthost machine for PXE forwarding¶
- Add a static IPADDR to the NIC on provisioning network
sudo cat > /etc/sysconfig/network-scripts/ifcfg-em2 << EOF
NAME=em2
IPADDR=10.12.149.4
NETMASK=255.255.255.192
NM_CONTROLLED=no
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
ONBOOT=yes
HWADDR=D0:43:1E:FD:44:10
PEERDNS=yes
PEERROUTES=yes
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
EOF
- Bring the NIC down first
sudo ifdown em2
- Bring the NIC up again
sudo ifup em2
- Add the NIC on the provisioning interface to the “brovc” bridge
sudo brctl addif brovc em2