Merge ~ines-almeida/launchpad:update-lxc-distro-in-starter-docs into launchpad:master

Proposed by Ines Almeida
Status: Merged
Approved by: Ines Almeida
Approved revision: 7718cad01f2060c08f98b721a394199675dbeefd
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~ines-almeida/launchpad:update-lxc-distro-in-starter-docs
Merge into: launchpad:master
Diff against target: 36 lines (+11/-2)
1 file modified
doc/how-to/running.rst (+11/-2)
Reviewer Review Type Date Requested Status
Simone Pelosi Approve
Review via email: mp+443466@code.launchpad.net

Commit message

Update lp's container distro from 16.04 to 18.04 in starter docs

We ask users to create a 16.04 container in the started docs, which more often than not leads to issues (e.g. the IPv4 of the container not being available). This is not an issue with ubuntu 18.04 as far as I've seen it, so it will make the setup process easier and more error proof.

Description of the change

I have been running launchpad locally with 18.04, and all tests pass. So far 2 other people that I know of are also using 18.04 with success.

To post a comment you must log in.
Revision history for this message
Simone Pelosi (pelpsi) wrote :

LGTM!

review: Approve
Revision history for this message
Colin Watson (cjwatson) wrote :

Let's use 20.04, please.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/doc/how-to/running.rst b/doc/how-to/running.rst
2index a217a19..d471c19 100644
3--- a/doc/how-to/running.rst
4+++ b/doc/how-to/running.rst
5@@ -15,6 +15,8 @@ isolate it from the rest of your system.
6 After you've done this, you may want to read about
7 :doc:`../explanation/navigating`.
8
9+.. _supported_operating_systems:
10+
11 Supported operating systems
12 ===========================
13
14@@ -118,13 +120,20 @@ installed and configured on your network.
15 path: $HOME
16 EOF
17
18-2. Create a container. This command creates a Ubuntu 16.04 unprivileged
19+2. Create a container. This command creates a Ubuntu 20.04 unprivileged
20 container using the profile created in the previous step.
21
22 .. code-block:: sh
23
24- lxc launch ubuntu:16.04 lpdev -p default -p $USER
25+ lxc launch ubuntu:20.04 lpdev -p default -p $USER
26+
27+.. note::
28+ Note that as of now, Launchpad still runs on `ubuntu:16.04` in production,
29+ but will be upgraded to `20.04` in the near future.
30
31+ You can use `ubuntu:16.04` in the command above instead, but note that for
32+ more recent Ubuntu versions (22.04 and above) it might need some extra steps
33+ (see note in :ref: `Supported Operating Systems <supported_operating_systems>`).
34
35 .. note::
36 If the command above fails with ``Error: No root device could be found``, you may need to run

Subscribers

People subscribed via source and target branches

to status/vote changes: