That method indeed doesn’t work anymore. One does need a script for it now, see Static URL for VyOS rolling nightly build? - #2 by Apachez .
Since I don’t use VRFs I removed all VRF related stuff plus now curl has to follow redirections because github made some changes. For me the following script works:
/conf/custom/update.sh
:
#!/bin/vbash
# Include VyOS functions
source /opt/vyatta/etc/functions/script-template
# Script debugging
#set -x
# Set variables
URL=$(curl -Ls "https://api.github.com/repos/vyos/vyos-rolling-nightly-builds/releases/latest" | grep browser_download_url | head -n 1 | cut -d\" -f4)
# Perform stuff
run add system image ${URL}