“1+X中级B卷:KeyStone管理”的版本间的差异

来自CloudWiki
跳转至: 导航搜索
(创建页面,内容为“==题目== 使用提供的“all-in-one”虚拟机,在keystone中创建用户testuser,密码为password,创建好之后,查看testuser的详细信息,以…”)
 
操作步骤
第3行: 第3行:
  
 
==操作步骤==
 
==操作步骤==
文字+ 输出结果
 
===步骤1===
 
  
===步骤2===
+
[root@xiandian~]# source /etc/keystone/admin-openrc.sh
 +
 
 +
[root@xiandian~]# openstack user create --domain xiandian --password password testuser
 +
+-----------+----------------------------------+
 +
| Field    | Value                          |
 +
+-----------+----------------------------------+
 +
| domain_id | 5a486c51bc8e4dffa4a181f6c54e0938 |
 +
| enabled  | True                            |
 +
| id      | ec6d67cdb3ac4b3ca827587c14be0a3e |
 +
| name    | testuser                        |
 +
+-----------+----------------------------------+
 +
[root@xiandian~]# openstack user show testuser
 +
+-----------+----------------------------------+
 +
| Field | Value |
 +
+-----------+----------------------------------+
 +
| domain_id | 639e7d52170d4759b5438e3b29bbf339 |
 +
| enabled | True |
 +
| id | df8ca15f17a8435d8889987b4b78c7a2 |
 +
| name | testuser |
 +
+-----------+----------------------------------+

2020年11月22日 (日) 15:34的版本

题目

使用提供的“all-in-one”虚拟机,在keystone中创建用户testuser,密码为password,创建好之后,查看testuser的详细信息,以文本形式提交以上操作命令到答题框。

操作步骤

[root@xiandian~]# source /etc/keystone/admin-openrc.sh

[root@xiandian~]# openstack user create --domain xiandian --password password testuser +-----------+----------------------------------+ | Field | Value | +-----------+----------------------------------+ | domain_id | 5a486c51bc8e4dffa4a181f6c54e0938 | | enabled | True | | id | ec6d67cdb3ac4b3ca827587c14be0a3e | | name | testuser | +-----------+----------------------------------+ [root@xiandian~]# openstack user show testuser +-----------+----------------------------------+ | Field | Value | +-----------+----------------------------------+ | domain_id | 639e7d52170d4759b5438e3b29bbf339 | | enabled | True | | id | df8ca15f17a8435d8889987b4b78c7a2 | | name | testuser | +-----------+----------------------------------+