doc: update quickstart guide for 22.10 release

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-10-24 18:51:40 +02:00
parent 218eb36ec3
commit 952ca2f8a3
2 changed files with 13 additions and 11 deletions

View File

@ -6,15 +6,15 @@ This page is just a slightly adapted page of [the autoinstall quickstart page](a
## Download an ISO
At the time of writing (just before focal release), the best place to go is here:
<http://cdimage.ubuntu.com/ubuntu/releases/20.04/release/>
At the time of writing (just after the kinetic release), the best place to go is here:
<https://cdimage.ubuntu.com/ubuntu/releases/22.10/release/>
<pre><code>wget http://cdimage.ubuntu.com/ubuntu/releases/20.04/release/ubuntu-20.04-live-server-s390x.iso -P ~/Downloads</code></pre>
<pre><code>wget https://cdimage.ubuntu.com/ubuntu/releases/22.10/release/ubuntu-22.10-live-server-s390x.iso -P ~/Downloads</code></pre>
## Mount the ISO
<pre><code>mkdir -p ~/iso
sudo mount -r ~/Downloads/ubuntu-20.04-live-server-s390x.iso ~/iso</code></pre>
sudo mount -r ~/Downloads/ubuntu-22.10-live-server-s390x.iso ~/iso</code></pre>
## Write your autoinstall config
@ -74,7 +74,7 @@ You may need to add the default user to the kvm group: <<BR>>
<pre><code>kvm -no-reboot -name auto-inst-test -nographic -m 2048 \
-drive file=disk-image.qcow2,format=qcow2,cache=none,if=virtio \
-cdrom ~/Downloads/ubuntu-20.04-live-server-s390x.iso \
-cdrom ~/Downloads/ubuntu-22.10-live-server-s390x.iso \
-kernel ~/iso/boot/kernel.ubuntu \
-initrd ~/iso/boot/initrd.ubuntu \
-append 'autoinstall ds=nocloud-net;s=http://_gateway:3003/ console=ttysclp0'</code></pre>

View File

@ -2,7 +2,9 @@
The intent of this page is to provide simple instructions to perform an autoinstall in a VM on your machine.
This page assumes you are on the amd64 architecture. There is a version for [s390x](autoinstall-quickstart-s390x.md) too.
This page assumes that you are willing to install the latest Ubuntu release available i.e., 22.10 at the time of writing. For other releases, you would need to substitute the name of the ISO image but the instructions should otherwise remain the same.
This page also assumes you are on the amd64 architecture. There is a version for [s390x](autoinstall-quickstart-s390x.md) too.
## Providing the autoinstall data over the network
@ -10,11 +12,11 @@ This method is the one that generalizes most easily to doing an entirely network
### Download the ISO
Go to the [20.04 ISO download page](http://releases.ubuntu.com/20.04/) and download the latest Ubuntu 20.04 live-server ISO.
Go to the [22.10 ISO download page](https://releases.ubuntu.com/22.10/) and download the latest Ubuntu 22.10 live-server ISO.
### Mount the ISO
<pre><code>sudo mount -r ~/Downloads/ubuntu-20.04-live-server-amd64.iso /mnt</code></pre>
<pre><code>sudo mount -r ~/Downloads/ubuntu-22.10-live-server-amd64.iso /mnt</code></pre>
### Write your autoinstall config
@ -50,7 +52,7 @@ python3 -m http.server 3003</code></pre>
<pre><code>kvm -no-reboot -m 1024 \
-drive file=image.img,format=raw,cache=none,if=virtio \
-cdrom ~/Downloads/ubuntu-20.04-live-server-amd64.iso \
-cdrom ~/Downloads/ubuntu-22.10-live-server-amd64.iso \
-kernel /mnt/casper/vmlinuz \
-initrd /mnt/casper/initrd \
-append 'autoinstall ds=nocloud-net;s=http://_gateway:3003/'</code></pre>
@ -70,7 +72,7 @@ This is the method to use when you want to create media that you can just plug i
### Download the live-server ISO
Go to the [20.04 ISO download page](http://releases.ubuntu.com/20.04/) and download the latest Ubuntu 20.04 live-server ISO.
Go to the [22.10 ISO download page](https://releases.ubuntu.com/22.10/) and download the latest Ubuntu 22.10 live-server ISO.
### Create your user-data & meta-data files
@ -103,7 +105,7 @@ cloud-localds ~/seed.iso user-data meta-data</code></pre>
<pre><code>kvm -no-reboot -m 1024 \
-drive file=image.img,format=raw,cache=none,if=virtio \
-drive file=~/seed.iso,format=raw,cache=none,if=virtio \
-cdrom ~/Downloads/ubuntu-20.04-live-server-amd64.iso</code></pre>
-cdrom ~/Downloads/ubuntu-22.10-live-server-amd64.iso</code></pre>
This will boot and run the install. Unless you interrupt boot to add 'autoinstall' to the kernel command line, the installer will prompt for confirmation before touching the disk.