`update-template-ubuntu.sh ubuntu-24.04.yaml ubuntu-24.10.yaml` should automatically detect the distro version for the each of the templates.