Set Unique ID in Pillar file

This commit is contained in:
Mike Reeves
2020-02-10 14:32:36 -05:00
committed by GitHub
parent aa43cc4e01
commit 34f6cec8e2

View File

@@ -1207,6 +1207,7 @@ sensor_pillar() {
echo " nidsbpf:" >> $PILLARFILE
echo " master: $MSRV" >> $PILLARFILE
echo " mtu: $MTU" >> $PILLARFILE
echo " uniqueid: $(date '+%s')" >> $PILLARFILE
if [ $HNSENSOR != 'inherit' ]; then
echo " hnsensor: $HNSENSOR" >> $PILLARFILE
fi