Am 03.02.26 um 11:20 schrieb Dominik Csapak:
> +use POSIX qw();
>  
>  use Time::HiRes qw (gettimeofday);
>  use PVE::Tools qw(dir_glob_foreach file_read_firstline);
> @@ -138,6 +139,8 @@ my sub broadcast_static_node_info {
>      my $cgroup_mode = eval { PVE::CGroup::cgroup_mode(); };
>      syslog('err', "cgroup mode error: $@") if $@;
>  
> +    my (undef, undef, undef, undef, $architecture) = POSIX::uname();

You can just use the PVE::Tools::get_host_arch here, does the same under
the hood but it's also cached. Could be fixed up if nothing else comes up.



Reply via email to