This is run immediately after it restarts the NetworkManager. My assumption was that my WifFi was coming up slower than the script was running when it was trying to grab the files.
I made that file executable and added a sleep command right before it tries to pull the image:
# Pull supervisor image
sleep 30
Ran the local copy:
./hainstall.sh
All working. I think this was down to the Realtek network adapter on my PC as I had to install the drivers for this manually. So it might not affect many people but I figured better to document it than not.
Ubuntu looked like it was working right up until I needed to install some addons. So I went back to the drawing board and installed Debian. The process was the same in terms of the network adapter not waking up fast enough.
All seems to be working. Just migrated 7 or 8 devices onto Zigbee2MQTT, and literally just set up a Shelly. Still got lots of devices to migrate from my Pi but they’re all Zigbee so I think I’ll be fine