]> git.proxmox.com Git - pve-container.git/commit
lxc: fall back to 'unmanaged' when no OS detected
authorArnout Engelen <arnout@bzzt.net>
Thu, 28 May 2020 20:18:46 +0000 (20:18 +0000)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 29 May 2020 09:30:56 +0000 (11:30 +0200)
commit5f94d5e5bcbf2888cb2de9a5881596584e885a5f
tree0fede7136270f1601788ffe692eab260b0ba6f2b
parentd652b1f6ef58f2575e70ad903cbdd0d7c7b4f491
lxc: fall back to 'unmanaged' when no OS detected

This is useful when the uploaded CT does not contain a full OS. When the
autodetection detects an OS, that OS is returned. When it does not
successfully detect a supported OS, but /etc/os-release exists and has an ID
other than 'unmanaged', then the setup fails.

Signed-off-by: Arnout Engelen <arnout@bzzt.net>
src/PVE/LXC/Setup.pm