From 3bf0403d6b79c866f4bf36d1bf5835db93c9ce53 Mon Sep 17 00:00:00 2001 From: Ojus Chugh Date: Sun, 3 Aug 2025 00:13:17 +0530 Subject: [PATCH] docs(self-hosting): update Ubuntu LTS from 18.04 to 20.04 (fixes #472) --- src/docs-rs/self-hosting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/docs-rs/self-hosting.md b/src/docs-rs/self-hosting.md index 6c7fcfe8..a50daa9c 100644 --- a/src/docs-rs/self-hosting.md +++ b/src/docs-rs/self-hosting.md @@ -69,7 +69,7 @@ To help contain what crates' build scripts can access, documentation builds run # chmod 755 /var/lib/lxc ``` -(To make deployment simpler, it's important that the OS the container is using is the same as the host! In this case, the host is assumed to be running 64-bit Ubuntu 18.04. If you make the container use a different release or distribution, you'll need to build docs.rs separately inside the container when deploying.) +(To make deployment simpler, it's important that the OS the container is using is the same as the host! In this case, the host is assumed to be running 64-bit Ubuntu 20.04. If you make the container use a different release or distribution, you'll need to build docs.rs separately inside the container when deploying.) You'll also need to configure networking for the container. The following is a sample `/etc/default/lxc-net` that enables NAT networking for the container: