Remove deprecated section on upgrading to Debian 9 (#431)

Now that native Debian 9 TemplateVMs are available, it is no longer
necessary to manually upgrade a Debian 8 template to Debian 9.
This commit is contained in:
Andrew David Wong 2017-10-27 21:24:10 -05:00
parent fb4e74416b
commit 0b2e959ffa
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17

View File

@ -200,41 +200,6 @@ access can change this configuration in firewall settings for the TemplateVM.
3. Make sure the key is the authentic Kali key.
See the [Kali website] for further advice and instructions on verification.
### Create a Debian 9.0 (Stretch) template ###
These instructions will show you how to upgrade a Debian 8 TemplateVM to Debian 9.
**Note:** the prompt on each line indicates where each command should be entered
(`@dom0` or `@debian-9`).
1. (Optional) Install the [debian-8 Qube template][qubes-template-debian-install] if not already installed.
2. Ensure the base template is not running.
[user@dom0 ~]$ qvm-shutdown debian-8
3. Clone the base template and start a terminal in the new template.
[user@dom0 ~]$ qvm-clone debian-8 debian-9
[user@dom0 ~]$ qvm-run -a debian-9 gnome-terminal
4. Attempt the upgrade process in the new template.
[user@debian-9 ~]$ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
[user@debian-9 ~]$ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list.d/qubes-r3.list
[user@debian-9 ~]$ sudo apt-get update
[user@debian-9 ~]$ sudo apt-get dist-upgrade
[user@debian-9 ~]$ sudo apt-get autoremove
5. Shut down and trim the new template.
[user@dom0 ~]$ qvm-shutdown debian-9
[user@dom0 ~]$ qvm-trim-template debian-9
6. Ensure a terminal can be opened in the new template.
[user@dom0 ~]$ qvm-run -a debian-9 gnome-terminal
### Create a Kali Linux (rolling) template ###
These instructions will show you how to upgrade a Debian 9 TemplateVM to Kali Linux.