Page MenuHomeVyOS Platform

ISO check in /opt/vyatta/sbin/install-image faulty
Closed, ResolvedPublicBUG

Description

  1. download is to the vyos box
  2. add system image <path to iso file>

results;
vyos@1-3-latest:~$ add system image /home/vyos/vyos-1.3-rolling-201910081832-amd64.iso
"/home/vyos/vyos-1.3-rolling-201910081832-amd64.iso" is not a valid ISO image file.

/opt/vyatta/sbin/install-image:

if [ ! -f "$NEW_ISO" ] || ! (file $NEW_ISO | grep -q 9660); then
  fail_exit "\"$NEW_ISO\" is not a valid ISO image file."
fi

9660 won't be found via file which causes the issue.

file vyos-1.3-rolling-201910081832-amd64.iso
vyos-1.3-rolling-201910081832-amd64.iso: DOS/MBR boot sector; partition 2 : ID=0xef, start-CHS (0x3ff,254,63), end-CHS (0x3ff,254,63), startsector 708, 5696 sectors

Details

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