So we use HOST_IP as an internal environment variable to pass around the IP of the host currently being installed, eg $host2 in the discussion above
It looks like you are maybe overriding it in your scripting! It should work if you either:
- Unset it
- Set it to
$host2's IP - Use
--host-ipin the install CLI