mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-08 02:02:50 +01:00
Set Unique ID in Pillar file
This commit is contained in:
@@ -1207,6 +1207,7 @@ sensor_pillar() {
|
|||||||
echo " nidsbpf:" >> $PILLARFILE
|
echo " nidsbpf:" >> $PILLARFILE
|
||||||
echo " master: $MSRV" >> $PILLARFILE
|
echo " master: $MSRV" >> $PILLARFILE
|
||||||
echo " mtu: $MTU" >> $PILLARFILE
|
echo " mtu: $MTU" >> $PILLARFILE
|
||||||
|
echo " uniqueid: $(date '+%s')" >> $PILLARFILE
|
||||||
if [ $HNSENSOR != 'inherit' ]; then
|
if [ $HNSENSOR != 'inherit' ]; then
|
||||||
echo " hnsensor: $HNSENSOR" >> $PILLARFILE
|
echo " hnsensor: $HNSENSOR" >> $PILLARFILE
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user