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

9 行
661B

  1. {%- from "linux/map.jinja" import network with context %}
  2. export http_proxy="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  3. export https_proxy="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  4. export ftp_proxy="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  5. export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
  6. export HTTP_PROXY="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  7. export HTTPS_PROXY="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  8. export FTP_PROXY="http://{{ network.proxy.host }}:{{ network.proxy.port }}/"
  9. export NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"