mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
One CPU is all we need.
This commit is contained in:
parent
ee829cb60b
commit
c7d7359d0c
1 changed files with 1 additions and 1 deletions
|
@ -347,7 +347,7 @@ exec 2>$LOGPIPE
|
|||
#-------------------------------------------------------------------------------
|
||||
__gather_hardware_info() {
|
||||
if [ -f /proc/cpuinfo ]; then
|
||||
CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3}' /proc/cpuinfo )
|
||||
CPU_VENDOR_ID=$(awk '/vendor_id|Processor/ {sub(/-.*$/,"",$3); print $3; exit}' /proc/cpuinfo )
|
||||
elif [ -f /usr/bin/kstat ]; then
|
||||
# SmartOS.
|
||||
# Solaris!?
|
||||
|
|
Loading…
Add table
Reference in a new issue