cat > /etc/salt/roster << EOF
test:
host: 192.168.1.1
user: root
password: redhat
EOF
通过salt-ssh执行,第一次执行后会添加auth key
salt-ssh '*' cmd.run "uptime"
标签:none
发布时间:January 27, 2014 // 分类:Puppet // No Comments
cat > /etc/salt/roster << EOF
test:
host: 192.168.1.1
user: root
password: redhat
EOF
通过salt-ssh执行,第一次执行后会添加auth key
salt-ssh '*' cmd.run "uptime"
标签:none