Exported distro specific information to ENV

This commit is contained in:
Pavel Odintsov 2019-07-16 19:01:44 +01:00
parent 5517f3c6ff
commit 511b24f35f

@ -265,6 +265,12 @@ sub main {
get_user_email();
# Set environment variables to collect more information about installation failures
$ENV{'FASTNETMON_DISTRO_TYPE'} = $distro_type;
$ENV{'FASTNETMON_DISTRO_VERSION'} = $distro_version;
$ENV{'FASTNETMON_USER'} = $user_email;
install_sentry();
$cpus_number = get_logical_cpus_number();