Page MenuHomeVyOS Platform

Nightly-builds is missing a latest.iso to be used with add system image
Closed, InvalidPublicBUG

Description

Previously having a script that does:

# Set variables
VRF=INTERNET
URL=https://s3-us.vyos.io/rolling/current/vyos-rolling-latest.iso

# Perform update
run add system image ${URL} vrf ${VRF}

worked to automatically get the latest.iso.

But since a day or two the download page have been changed and vyos-rolling-latest.iso is nowhere to be seen:

https://vyos.net/get/nightly-builds/

Or has the set system update-check url now been activated so VyOS on its own can figure out what is the latest iso and be abel to fetch it without me having to manually figure this out and copy paste urls each time?

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202308180646
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav added a subscriber: Viacheslav.

It is not VyOS bug

So where should this be filed instead?

VyOS build bug?

Workaround:

/config/custom/update.sh

#!/bin/vbash

# Include VyOS functions
source /opt/vyatta/etc/functions/script-template

# Script debugging
#set -x

# Set variables and change vrf
VRF=INTERNET
#read -p "Enter path to update-file: " URL
#URL=https://s3-us.vyos.io/rolling/current/vyos-rolling-latest.iso
URL=$(ip vrf exec ${VRF} curl -s "https://api.github.com/repos/vyos/vyos-rolling-nightly-builds/releases/latest" | grep browser_download_url | head -n 1 | cut -d\" -f4)

# Perform update
run add system image ${URL} vrf ${VRF}