summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-12 07:49:04 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-12 07:52:34 +0100
commit52df9ed65c7618629348f6596db8d45580f8490e (patch)
tree6e519c6936b1bc5e0a824183e4e558b27c2c1dc4
parenta86564294ca20e50327ecd8d7ee844050bf51abe (diff)
downloadvyos-documentation-52df9ed65c7618629348f6596db8d45580f8490e.tar.gz
vyos-documentation-52df9ed65c7618629348f6596db8d45580f8490e.zip
Vyatta: migrate: update migration guide and fix references
- Fix referenced links to VyOS 1.0 - Fix leftover MediaWiki syntax (cherry picked from commit 5fcd3ec773e84b7210bcb1ddbfb572aa44bd69c1)
-rw-r--r--docs/appendix/migrate-from-vyatta.rst133
-rw-r--r--docs/image-mgmt.rst5
2 files changed, 99 insertions, 39 deletions
diff --git a/docs/appendix/migrate-from-vyatta.rst b/docs/appendix/migrate-from-vyatta.rst
index 39b5939b..b1dee387 100644
--- a/docs/appendix/migrate-from-vyatta.rst
+++ b/docs/appendix/migrate-from-vyatta.rst
@@ -3,46 +3,103 @@
Migrate from Vyatta Core
========================
-VyOS 1.x.x line aims to preserve backward compatibility and provide a safe upgrade
-ath for existing Vyatta Core users. You may think of 1.0.0 as VC7.0.
+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 **6.5** the "modify"
-firewall was removed and replaced with ``set policy route`` command family, and
-old config cannot be automatically converted. You will have to adapt it to
-post-6.5 syntax manually.
+Vyatta Core releases from 6.5 to 6.6 should be 100% compatible.
-.. note:: Also, in **6.5** remote access VPN interfaces were renamed from pppX
- to l2tpX and pptpX, so if you are using zone-policy in pre-6.5 versions, make
- sure to change interface names in rules for remote access VPN.
+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. The only thing
-is that is you want to verify image digital signature, you will have to add the
-public key.
+
+You just use ``add system image``, as if it was a new VC release (see
+:ref:`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.
.. code-block:: sh
- vyatta@vyatta:~$ '''wget http://wiki.vyos.net/so3group_maintainers.key'''
+ vyatta@vyatta:~$ wget http://wiki.vyos.net/so3group_maintainers.key
Connecting to vyos.net (x.x.x.x:80)
- so3group_maintainers 100% |******************************| 3125 --:--:-- ETA
- vyatta@vyatta:~$ '''sudo apt-key add so3group_maintainers.key'''
+ so3group_maintainers 100% |*************************| 3125 --:--:-- ETA
+ vyatta@vyatta:~$ sudo apt-key add so3group_maintainers.key
OK
vyatta@vyatta:~$
-Next, we can add the VyOS image.
-
+For completion the key below corresponds to the key listed in the URL above.
-.. note:: Vyatta doesn't support HTTP redirects for ``add system image`` and
- http://mirror.vyos.net HTTP load-balancer links will not work. Instead,
- choose one of the `mirrors <https://wiki.vyos.net/wiki/Mirrors>`_ and get
- a direct link.
+.. code-block:: sh
-This example uses 1.0.0 image, however, it's better to install the latest release.
+ -----BEGIN PGP PUBLIC KEY BLOCK-----
+ Version: GnuPG v1.4.12 (GNU/Linux)
+
+ mQINBFIIUZwBEADGl+wkZpYytQxd6LnjDZZScziBKYJbjInetYeS0SUrgpqnPkzL
+ 2CiGfPczLwpYY0zWxpUhTvqjFsE5yDpgs0sPXIgUTFE1qfZQE+WD1I1EUM6sp/38
+ 2xKQ9QaNc8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uRx5Imuh5ntecrcuCYSNuOneUXWPThDKQPO9lQARAQABiQIf
+ BBgBAgAJBQJSCFGcAhsMAAoJELdE4lqkQubpc+0P/0IzUx8nTpF0/ii2TA0YCOgj
+ tviM6PRTVPrFcxijNeXiIMHZYrALYUvXxXGp1IZBP3IcOyuZNp2WLqF/f9a3cIr1
+ 9b/LJPrwopGqV3K30lormk7hH0s3IXbhd0ZYWvRj+5kQ8TFRAFfPwjlItzjYJmYX
+ AGJmM9PxJID/4LgWSfQ/ZfNu7MJ7+2goQLu9b6x7UC1FlE4q1lcjBvHjVPM//S9G
+ lGAHaysyTjVu88W2wwBpBrO1MQnDvqFRddXPOIWp0jecBMUd4E0fB36yuStsXZT3
+ RN4V8vKRBYXuqHhiTwZeh153cHZk2EZBwz5A6DJubMaGdJTesHW5Qf2goph0pmjC
+ +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.
.. code-block:: sh
@@ -50,8 +107,8 @@ This example uses 1.0.0 image, however, it's better to install the latest releas
The system currently has the following image(s) installed:
1: VC6.6R1 (default boot) (running image)
- vyatta@vyatta:~$ add system image http://0.uk.mirrors.vyos.net/iso/release/1.0.0/vyos-1.0.0-amd64.iso
- Trying to fetch ISO file from http://0.uk.mirrors.vyos.net/iso/release/1.0.0/vyos-1.0.0-amd64.iso
+ vyatta@vyatta:~$ 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
@@ -74,32 +131,34 @@ This example uses 1.0.0 image, however, it's better to install the latest releas
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]'''
+
+ 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]'''
+ 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]'''
+ current configuration? (Yes/No) [Yes]: [return]
Copying SSH keys...
Setting up grub configuration...
Done.
- vyatta@vyatta:~$ '''show system image'''
+
+ vyatta@vyatta:~$ show system image
The system currently has the following image(s) installed:
1: 1.0.0 (default boot)
2: VC6.6R1 (running image)
- vyatta@vyatta:~$
-
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 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.x.
-
+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.
diff --git a/docs/image-mgmt.rst b/docs/image-mgmt.rst
index 291c0bc2..dcd77cdd 100644
--- a/docs/image-mgmt.rst
+++ b/docs/image-mgmt.rst
@@ -57,9 +57,10 @@ command in operational mode.
Images no longer needed can be removed using the :code:`delete system image`
command.
+.. _update_vyos:
-Update VyOS Installation
-------------------------
+Update VyOS
+-----------
Finally, new system images can be added using the :code:`add system image` command.
The add image command will extract the image from the release ISO (either on