summaryrefslogtreecommitdiffstats
path: root/server/ipxe/bash_scripts/grepSystemInfo.sh
diff options
context:
space:
mode:
authorJannik Schönartz2019-03-18 18:27:55 +0100
committerJannik Schönartz2019-03-18 18:27:55 +0100
commitf486a08621eec271889c4e2108e0038a98e78946 (patch)
tree18150cd68cdcdee42a2a62ce2a124badaf6f4cbb /server/ipxe/bash_scripts/grepSystemInfo.sh
parent[server/log] sql JSON to TEXT for mariadb compatibility (diff)
downloadbas-f486a08621eec271889c4e2108e0038a98e78946.tar.gz
bas-f486a08621eec271889c4e2108e0038a98e78946.tar.xz
bas-f486a08621eec271889c4e2108e0038a98e78946.zip
[server/registration] Add server registration
Diffstat (limited to 'server/ipxe/bash_scripts/grepSystemInfo.sh')
-rw-r--r--server/ipxe/bash_scripts/grepSystemInfo.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/ipxe/bash_scripts/grepSystemInfo.sh b/server/ipxe/bash_scripts/grepSystemInfo.sh
index 4ce42ab..63ca5e2 100644
--- a/server/ipxe/bash_scripts/grepSystemInfo.sh
+++ b/server/ipxe/bash_scripts/grepSystemInfo.sh
@@ -17,6 +17,7 @@ MODEL=$(dmidecode -q -s system-product-name)
SERIAL=$(dmidecode -q -s system-serial-number)
VENDOR=$(dmidecode | grep -Eo '(Vendor).*')
VENDOR=${VENDOR#"Vendor: "}
+# VENDOR=$(dmidecode | grep -Eo '(Vendor).*' | cut -f 2 -d ":")
# Mainboard
MAINBOARD_MANUFACTURER=$(dmidecode -q -s baseboard-manufacturer)