如何開始使用OpenStack命令行和API
1 回答

隔江千里
TA貢獻1906條經驗 獲得超10個贊
第一步,登錄horizon,進入下圖所示的頁面。
看到那個“下載OpenStack RC文件”的按鈕了么?看到了么?看到了么?別光顧著點頭了,還等啥?!
打開下載的文件(這里舉個例子,我以admin用戶登錄的),對內容稍作修改(主要是最后那個password,改成你登錄horizon的密碼,其他內容不要改):
#!/bin/bash
# With the addition of Keystone, to use an openstack cloud you should
# authenticate against keystone, which returns a **Token** and **Service
# Catalog**. The catalog contains the endpoint for all services the
# user/tenant has access to - including nova, glance, keystone, swift.
#
# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We
# will use the 1.1 *compute api*
- 1 回答
- 0 關注
- 1145 瀏覽
添加回答
舉報
0/150
提交
取消