mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-19 15:33:06 +01:00
Target sspecific minion
This commit is contained in:
@@ -81,8 +81,8 @@ function getinstallinfo() {
|
|||||||
|
|
||||||
function pcapspace() {
|
function pcapspace() {
|
||||||
|
|
||||||
local NSMSIZE=$(salt \* disk.usage --out=json | jq -r '.[]."/nsm"."1K-blocks" ')
|
local NSMSIZE=$(salt '$MINION_ID' disk.usage --out=json | jq -r '.[]."/nsm"."1K-blocks" ')
|
||||||
local ROOTSIZE=$(salt \* disk.usage --out=json | jq -r '.[]."/"."1K-blocks" ')
|
local ROOTSIZE=$(salt '$MINION_ID' disk.usage --out=json | jq -r '.[]."/"."1K-blocks" ')
|
||||||
|
|
||||||
if [[ "$NSMSIZE" == "null" ]]; then
|
if [[ "$NSMSIZE" == "null" ]]; then
|
||||||
# Looks like there is no dedicated nsm partition. Using root
|
# Looks like there is no dedicated nsm partition. Using root
|
||||||
|
|||||||
Reference in New Issue
Block a user