Saltstack Official Linux Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678
  1. {%- set interface = salt['pillar.get']('linux:network:interface:'+interface_name) %}
  2. Interface={{ interface_name }}
  3. Connection=wireless
  4. Security={{ interface.wireless.security }}
  5. ESSID={{ interface.wireless.essid }}
  6. IP=dhcp
  7. Key={{ interface.wireless.key }}
  8. Priority={{ interface.wireless.get('priority', '1') }}