1.安装epel源、salt-sshyum-yinstallepel-release
yum-yinstallsalt-ssh2.编辑添加主机的登录凭证vim/etc/salt/rostersalt2:host:10.0.0.106user:rootpasswd:centossalt3:host:10.0.0.107user:rootpasswd:centos采用salt-ssh协议执行命令(没有minion)salt-ssh‘*‘-r‘df-Th‘上..
分类:
其他好文 时间:
2016-07-09 13:38:32
阅读次数:
154