mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 09:27:35 +02:00
Change: Revert an 'if' statement (used for testing)
This commit is contained in:
@@ -542,7 +542,7 @@ ${magenta}###${nc}------------------------------------${magenta}[ ${bwhite}Machi
|
|||||||
hardw_vendor="$(hostnamectl | grep -E "Hardware Vendor" | awk "{print \$3}")"
|
hardw_vendor="$(hostnamectl | grep -E "Hardware Vendor" | awk "{print \$3}")"
|
||||||
machine="$(hostnamectl | grep -Em 1 "Chassis" | awk "{print \$2}")"
|
machine="$(hostnamectl | grep -Em 1 "Chassis" | awk "{print \$2}")"
|
||||||
|
|
||||||
if [[ "${hypervisor}" == "none" ]]; then # <<<<<<<<<<
|
if [[ "${hypervisor}" != "none" ]]; then
|
||||||
vm
|
vm
|
||||||
vendor="Virtual Machine"
|
vendor="Virtual Machine"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user