Migrate from Vyatta Core

VyOS 1.x line aims to preserve backward compatibility and provide a safe upgrade path for existing Vyatta Core users. You may think of VyOS 1.0.0 as VC7.0.

Vyatta release compatiblity

Vyatta Core releases from 6.5 to 6.6 should be 100% compatible.

Vyatta Core 6.4 and earlier may have incompatibilities. In Vyatta 6.5 the “modify” firewall was removed and replaced with the set policy route command family, old configs can not be automatically converted. You will have to adapt it to post-6.5 Vyatta syntax manually.

Note

Also, in Vyatta Core 6.5 remote access VPN interfaces have been renamed from pppX to l2tpX and pptpX. If you are using zone based firewalling in Vyatta Core pre-6.5 versions, make sure to change interface names in rules for remote access VPN.

Upgrade procedure

You just use add system image, as if it was a new VC release (see Update VyOS for additional information). The only thing you want to do is to verify the new images digital signature. You will have to add the public key manually once as it is not shipped the first time.

[email protected]:~$ wget http://wiki.vyos.net/so3group_maintainers.key
Connecting to vyos.net (x.x.x.x:80)
so3group_maintainers 100% |*************************|  3125  --:--:-- ETA
[email protected]:~$ sudo apt-key add so3group_maintainers.key
OK
[email protected]:~$

For completion the key below corresponds to the key listed in the URL above.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)

mQINBFIIUZwBEADGl+wkZpYytQxd6LnjDZZScziBKYJbjInetYeS0SUrgpqnPkzL
2CiGfPczLwpYY0zWxpUhTvqjFsE5yDpgs0sPXIgUTFE1qfZQE+WD1I1EUM6sp/38
2xKQ9QaNc8oHuYINLYYmNYra6ZjIGtQP9WOX//IDYB3fhdwlmiW2z0hux2OnPWdh
hPZAmSrx5AiXFEEREJ1cAQyvYk7hgIRvM/rdQMUm+u4/z+S4mxCHE10KzlqOGhRv
hA8WQxHCVusMFGwXoKHxYf9OQpV7lsfOCODfXOMP/L9kHQ5/gBsLL5hHst+o/3VG
ec0QuVrVkBBehgrqhfJW2noq+9gTooURGImQHEOyE0xpJdFrrgk5Ii9RqQwdVRzI
ZPbqbo8uuldZIRJRGnfx+vAR9812yo38NVZ/X0P/hkkrx+UeGVgp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8vKRBYXuqHhiTwZeh153cHZk2EZBwz5A6DJubMaGdJTesHW5Qf2goph0pmjC
+XuXn8J6tc5nFDf8DP4AFVMtqa3Brj2fodWd0Zzxq3AVsbX144c1oqJUhO4t3+ie
8fD/6/jx4iuPCQTfyhHG+zGfyUb2LQ+OVLW1WYTxH5tzHaZUmZFdV2I1kuhuvZ1t
WRlmTnHZOnEb3+t8KCRWzRMfweTzXfRRKBC0/QpeX1r5pbaMHH8zF/J5PKmL0+jg
+DS8JSbSfv7Ke6rplf7lHYaDumAFZfxXuQkajzLZbX0E5Xu5BNz4Vq6LGBj7LDXL
gswIK8FFgZB+W8zwOqUV1vjIr9wkdLifXXezKpTeYpFDGLdfsK+uNAtGyvI61TDi
Pr6fWpIruuc7Gg9rUF0L
=VQTr
-----END PGP PUBLIC KEY BLOCK-----

Next add the VyOS image.

This example uses VyOS 1.0.0, however, it’s better to install the latest release.

[email protected]:~$ show system image
The system currently has the following image(s) installed:
  1: VC6.6R1 (default boot) (running image)

[email protected]:~$ add system image https://downloads.vyos.io/release/legacy/1.0.0/vyos-1.0.0-amd64.iso
 Trying to fetch ISO file from https://downloads.vyos.io/release/legacy/1.0.0/vyos-1.0.0-amd64.iso
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
 100  223M  100  223M    0     0   960k      0  0:03:57  0:03:57 --:--:--  657k
 ISO download succeeded.
 Checking for digital signature file...
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                  Dload  Upload   Total   Spent    Left  Speed
 100   836  100   836    0     0   4197      0 --:--:-- --:--:-- --:--:--  4287
 Found it.  Checking digital signature...
 gpg: directory `/root/.gnupg' created
 gpg: new configuration file `/root/.gnupg/gpg.conf' created
 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
 gpg: keyring `/root/.gnupg/pubring.gpg' created
 gpg: Signature made Sun Dec 22 16:51:42 2013 GMT using RSA key ID A442E6E9
 gpg: /root/.gnupg/trustdb.gpg: trustdb created
 gpg: Good signature from "SO3 Group Maintainers <[email protected]>"
 gpg: WARNING: This key is not certified with a trusted signature!
 gpg:          There is no indication that the signature belongs to the owner.
 Primary key fingerprint: DD5B B405 35E7 F6E3 4278  1ABF B744 E25A A442 E6E9
 Digital signature is valid.
 Checking MD5 checksums of files on the ISO image...OK.
 Done!

 What would you like to name this image? [1.0.0]: [return]
 OK.  This image will be named: 1.0.0
 Installing "1.0.0" image.
 Copying new release files...

 Would you like to save the current configuration
 directory and config file? (Yes/No) [Yes]: [return]
 Copying current configuration...

 Would you like to save the SSH host keys from your
 current configuration? (Yes/No) [Yes]: [return]
 Copying SSH keys...
 Setting up grub configuration...
 Done.

 [email protected]:~$ show system image
 The system currently has the following image(s) installed:

    1: 1.0.0 (default boot)
    2: VC6.6R1 (running image)

Upon reboot, you should have a working installation of VyOS.

You can go back to your Vyatta install using the set system image default-boot command and selecting the your previous Vyatta Core image.

Note

Future releases of VyOS will break the direct upgrade path from Vyatta core. Please upgrade through an intermediate VyOS version e.g. VyOS 1.2. After this you can continue upgrading to newer releases once you bootet into VyOS 1.2 once.