用于与api和云设备交互的openstack命令行接口

hammercloud的Python项目详细描述


sh hammercloud

这只是添加一些我认为可以添加的内容

目前它可以:

-将您登录到nextgen云服务器(使用uuid或服务器名称)
-只显示有关云服务器的一般信息
-设置“supernova temp<;command>;`安装

`` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` `
` ` ` ` ` ` ` `
` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` ` `
用户:<;用户>;
插件:rackspace
ssh-args:-f~/.ssh/extronf
堡垒密钥:~/.ssh/id-rsa
堡垒:<;堡垒>;
终端:iterm
使用超新星:true
外壳类型:<;pshell/expect>;
`````

自动运行!

自动运行脚本可以放在两个地方,如果您只想有一个脚本用于
所有内容,可以将其放到`~/.config/hammercloud/autorun`。也可以使用
`~/.config/hammercloud/autorun.d/`。它按照
(在python中对目录的listdir运行sorted()。

/home/gtmanfred/.config/hammercloud/autorun.d/1-terminfo<;==
export term=xterm

===>;home/gtmanfred/.config/hammercloud/autorun.d/10-check-ip<;===
ip addr show
ip路由show
ip-s-link

==
===>;home/hammercloud/autorun.d/20-heartbleed<;=====
lsof+c 0-n+c 0-n===
===========124; awk'/lib(ssl crypto)/&;&;删除/&;!x[$1]+{打印$1}'
```





``` ini
[temp]
os-auth-u-auth-u-url=https://identity.api.rackspacecloud.com/v2.0/
os-auth-u-system=rackspace
os-region-name=使用密钥环
nova-service-name=cloudserversopenstock
os-username=使用密钥环
os-password=使用密钥环

os-password=使用密钥环
os-keyring
nova-nova-keycspacecloud.com/v2.0/
os-os-auth-system=racksracrax_auth=1
os_no_cache=1
novaclient_insecure=1
```






ssh-ssh-nf-f ~/.ssh/extraconf bastion`
















\ssh/ssh/extconf ` ` ` ` ~-f ~/.config/hammercloud/config.yml ` ` ` ` ` ~-f ~/.ssh/extraconf ` ` `.ssh/extconf ` ` `.ssh/extconf ` ` ` ` ` ` ` ``
主机堡垒
代理命令无
用户<;用户>;
主机名<;bastion>;
控制路径~/.ssh/vts-%r@%h:%p
标识文件<;ssh密钥>;
controlmaster auto
controlpersist 10M

host*
proxycommand ssh-ay bastion-f~/.ssh/extronf-w%h:%p
forwardagent yes
forwardx11 no
gssapiauthentication no
verifyhostkeydns no
hashknownhosts no
stricthostkeychecking false
tcpkeepalive yes
serveraliveinterval 300
```

`注意:如果不使用类似的东西,并在.ssh/config中使用host*,则应在主机*上方包含
以下内容,以确保proxycommand为空`

````
host cbast*
proxycommand none
```

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java既然Lucene 4.1中不存在TermEnum,如何从IndexReader中获取字段?   java在LinkedHashSet上的迭代比在ArrayList上的迭代要快   java无法在Android Studio中获得所有@override函数,如onStart、onResume   java的DateTimeFormatter比SimpleDateFormat更严格吗?以毫秒为单位分析日期   JavaSpring*servlet。Websphere服务器启动时未加载xml   java Fancytree selenium单击事件   java日期格式不一样   java无法在Android Studio上运行我的MQTT应用程序   c#计算两个集合的F检验   java JDialog不会显示在“设计”选项卡中   java如何在每个服务生页面上重新加载页面   java如何初始化包含一些对象的数组?   使用Datanucleus的java Amazon S3数据存储   Python的map函数是否有Java等价物?