From 3d5c55fca7d31860c7453b0dc2eabc56762b3462 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 14 Feb 2020 17:26:41 +0100 Subject: [PATCH] pct: guest OS cfg: mention /etc/os-release Signed-off-by: Thomas Lamprecht --- pct.adoc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pct.adoc b/pct.adoc index 27db7a6..9bedab7 100644 --- a/pct.adoc +++ b/pct.adoc @@ -622,7 +622,12 @@ distributions and versions. You can completely disable modifications by manually setting the `ostype` to `unmanaged`. OS type detection is done by testing for certain files inside the -container: +container. {pve} first checks the `/etc/os-release` file +footnote:[/etc/os-release replaces the multitude of per-distribution +release files https://manpages.debian.org/stable/systemd/os-release.5.en.html]. +If that file is not present, or it does not contain a clearly recognizable +distribution identifier the following distribution specific release files are +checked. Ubuntu:: inspect /etc/lsb-release (`DISTRIB_ID=Ubuntu`)