我在写远程机器上的cli
命令的服务器上写着shell script
。 在我的问题远程机器是vmware vsphere client
虚拟机。我知道虚拟机的细节,即ip address
,等....我也知道所有的命令需要ran.manually我能够做到这一点,但我可以,同样可以编写linux shell脚本。 请注意两者都是Linux机器命令如何编写linux外壳脚本在cli上执行远程机器上的cli命令集从012开始
CLI
配置
组模块元件的
列表
组模块元件TenantInstance 1
组模块元件TenantInstance 1属性customParameter1 “一些值”
组模块元件TenantInstance 1属性customParameter2 “一些值”
组模块元件TenantInstance 1属性customParameter3 “someValue中”
set模块元素TenantInstance 1 ExternalVlan 4094属性标签ISCSI-TRAFFIC
提交
确认
等等
任何人可以帮我如何写剧本先谢谢了!