When trying to install VyOS on a new empty SSD, using the install image command, and specifying a specific size for the root partition, this is ignored and it ends up using the full drive size.
As far as I can tell, the culprit is the "create_partitions" function in the install-get-partition script. This contains:
##Do GPT/EFI Setup
sgdisk --zap-all /dev/$ldrive
# part1 = BIOS BOOT (backwards compatibility)
# part2 = EFI
# part3 = ROOT
sgdisk -a1 -n1:34:2047 -t1:EF02 \
-n2:2048:+256M -t2:EF00 \
-n3:0:0:+$root_part_size -t3:8300 /dev/$ldriveThe last line seems to contain a mistake, and should likely be -n3:0:+$root_part_size -t3:8300 /dev/$ldrive (so one :0 too many). This would take the next available largest chunk of free space and create a partition of the given $root_part_size.