Page MenuHomeVyOS Platform

Image installer doesn't detect previous installation
Closed, ResolvedPublicBUG

Description

Installation process reports no previous installations found even though we use the disk with existing vyos installation:

vyos@vyos:~$ in im
Welcome to VyOS installation!
This command will install VyOS to your permanent storage.
Would you like to continue? [y/N] y
What would you like to name this image? (Default: 2025.11.04-0019-rolling) 
Please enter a password for the "vyos" user: 

WARNING: The password complexity is too low - it should not be WAY too
short

Please confirm password for the "vyos" user: 
What console should be used by default? (K: KVM, S: Serial)? (Default: S) 
Probing disks
1 disk(s) found
The following disks were found:
Drive: /dev/vda (4.0 GB)
Which one should be used for installation? (Default: /dev/vda) 
Installation will delete all data on the drive. Continue? [y/N] y
Searching for data from previous installations
No previous installation found
Would you like to use all the free space on the drive? [Y/n]

Steps to reproduce:

  1. Get a vm with vyos installed (for example: vyos-2025.10.24-0017-rolling-generic-amd64)
  2. Mount ISO with latest rolling
  3. Boot from ISO and start image install

Seems like .vyatta_config path doesn't meet the condition - https://github.com/vyos/vyos-1x/blob/a5654ac187681f802a356090390d4b66355ee8a3/src/op_mode/image_installer.py#L277

Details

Version
vyos-2025.10.24-0017-rolling-generic-amd64
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)