vyos-builod repo make test-image-update installs the current ISO a second time with add system image, downloading it over HTTP. It does this twice: once in the default VRF and once in a VRF named purple. Each time it only checks that show system image lists the new image, then deletes it. It answers "no" when asked to make the new image the default boot image and never reboots. So the test proves the image downloads and installs, but not that it boots.
In the default-VRF run, the harness is changed to:
- Notes which image is currently running.
- Adds the new image and makes it the default boot image.
- Reboots and logs in, then fails unless show system image shows the new image as both default and running.
- Sets the original image as default again and reboots into it. A running image can't be deleted, and this also puts the disk back the way it was.
- Deletes the test image, as before.
The VRF run is unchanged, because it only tests a different download path. The reboots unmount the nested installer ISO, so it is mounted again before the VRF run.