#!/bin/bash total_mem=$(grep MemTotal /proc/meminfo | awk '{print $2}' | sed -r 's/.{3}$//') export total_mem hostname=$(cat /etc/hostname) export hostname all_nics=$(ip link | awk -F: '$0 !~ "lo|vir|veth|br|docker|wl|^[^0-9]"{print $2 " \"" "Interface" "\"" " OFF"}') export all_nics cpu_cores=$(grep -c "processor" /proc/cpuinfo | grep -v "KVM") export cpu_cores cpu_core_list=$(grep "processor" /proc/cpuinfo | grep -v "KVM" | awk '{print $3 " \"" "core" "\""}') export cpu_core_list random_uid=$(