On Tue, May 26, 2020 at 11:31 AM Thomas Lamprecht <t.lampre...@proxmox.com> 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 = $os_release->{ID}) { > > - return $id if $plugins->{$id}; > > + return $id if $plugins->{$id} or $id eq "unmanaged"; > > I thought a bit about this, maybe it's really better to avoid fake > ostype for now? I'm not sure I understand what you're suggesting? > I'd add a warning message here, i.e. something which stands out like: > warn "\nWARNING: unable to detect OS distribution and no os-release, fallback > to 'unmanaged'\n"; Will do. Arnout _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel