diff --git a/setup/so-functions b/setup/so-functions index ea0a7cee7..3f49fac2d 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -731,6 +731,7 @@ master_pillar() { printf '%s\n'\ "master:"\ " mainip: $MAINIP"\ + " mainint: $MNIC"\ " esheap: $ES_HEAP_SIZE"\ " esclustername: {{ grains.host }}"\ " freq: 0"\ @@ -1181,8 +1182,8 @@ sensor_pillar() { " master: $MSRV"\ " mtu: $MTU"\ " uniqueid: $(date '+%s')" >> "$pillar_file" - if [ "$home_network_sensor" != 'inherit' ]; then - echo " home_network_sensor: $home_network_sensor" >> "$pillar_file" + if [ "$HNSENSOR" != 'inherit' ]; then + echo " hnsensor: $HNSENSOR" >> "$pillar_file" fi printf '%s\n'\ " access_key: $ACCESS_KEY"\