@@ -100,23 +100,23 @@ This step can also be run from the web console.
100100----
101101[kni@provisioner ~]$ export PUB_CONN=<baremetal_nic_name>
102102[kni@provisioner ~]$ export PROV_CONN=<prov_nic_name>
103- [kni@provisioner ~]$ sudo nohup bash -c '
104- nmcli con down "$PROV_CONN"
105- nmcli con down "$PUB_CONN"
106- nmcli con delete "$PROV_CONN"
107- nmcli con delete "$PUB_CONN"
108- # RHEL 8.1 appends the word "System" in front of the connection, delete in case it exists
109- nmcli con down "System $PUB_CONN"
110- nmcli con delete "System $PUB_CONN"
103+ [kni@provisioner ~]$ sudo nohup bash -c "
104+ nmcli con down \ "$PROV_CONN\ "
105+ nmcli con down \ "$PUB_CONN\ "
106+ nmcli con delete \ "$PROV_CONN\ "
107+ nmcli con delete \ "$PUB_CONN\ "
108+ # RHEL 8.1 appends the word \ "System\ " in front of the connection, delete in case it exists
109+ nmcli con down \ "System $PUB_CONN\ "
110+ nmcli con delete \ "System $PUB_CONN\ "
111111 nmcli connection add ifname provisioning type bridge con-name provisioning
112- nmcli con add type bridge-slave ifname "$PROV_CONN" master provisioning
112+ nmcli con add type bridge-slave ifname \ "$PROV_CONN\ " master provisioning
113113 nmcli connection add ifname baremetal type bridge con-name baremetal
114- nmcli con add type bridge-slave ifname "$PUB_CONN" master baremetal
115- nmcli con down "$PUB_CONN"; pkill dhclient;dhclient baremetal
114+ nmcli con add type bridge-slave ifname \ "$PUB_CONN\ " master baremetal
115+ pkill dhclient;dhclient baremetal
116116 nmcli connection modify provisioning ipv6.addresses fd00:1101::1/64 ipv6.method manual
117117 nmcli con down provisioning
118118 nmcli con up provisioning
119- '
119+ "
120120----
121121+
122122[NOTE]
0 commit comments