[pve-devel] [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-28 Thread Arnout Engelen
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 ---

Re: [pve-devel] [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-26 Thread Thomas Lamprecht
On 5/26/20 11:40 AM, Arnout Engelen wrote: > On Tue, May 26, 2020 at 11:31 AM Thomas Lamprecht > wrote: >> On 5/18/20 1:17 PM, Arnout Engelen wrote: >>> Perhaps it would be even more consistent to make 'unmanaged' a plugin >>> next to the various OS plugins, but I wanted to keep the change as >>>

Re: [pve-devel] [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-26 Thread Arnout Engelen
On Tue, May 26, 2020 at 11:31 AM Thomas Lamprecht wrote: > On 5/18/20 1:17 PM, Arnout Engelen wrote: > > Perhaps it would be even more consistent to make 'unmanaged' a plugin > > next to the various OS plugins, but I wanted to keep the change as > > simple as possible for now. > > if (my $id

Re: [pve-devel] [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-26 Thread Thomas Lamprecht
On 5/18/20 1:17 PM, Arnout Engelen wrote: > 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

[pve-devel] [PATCH container] lxc: fall back to 'unmanaged' when no OS detected

2020-05-18 Thread Arnout Engelen
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. Perhaps it would be even more consi