place and access sensoronikey from sensoroni.config

This commit is contained in:
m0duspwnens
2023-05-12 14:38:39 -04:00
parent 00d1ca0b62
commit 05a81596e5
2 changed files with 5 additions and 4 deletions

View File

@@ -1496,9 +1496,10 @@ create_sensoroni_pillar() {
printf '%s\n'\
"sensoroni:"\
" node_checkin_interval_ms: $NODE_CHECKIN_INTERVAL_MS"\
" sensoronikey: '$SENSORONIKEY'"\
" soc_host: '$REDIRECTIT'" > $sensoroni_pillar_file
" config:"\
" node_checkin_interval_ms: $NODE_CHECKIN_INTERVAL_MS"\
" sensoronikey: '$SENSORONIKEY'"\
" soc_host: '$REDIRECTIT'" > $sensoroni_pillar_file
}