diff --git a/lab001-control-node.xml b/lab001-control-node.xml index 9b640893..60598f0a 100644 --- a/lab001-control-node.xml +++ b/lab001-control-node.xml @@ -142,7 +142,7 @@ iface eth2 inet dhcp Create these databases: - # mysql -u root -p + $ mysql -u root -p mysql> CREATE DATABASE keystone; mysql> GRANT ALL ON keystone.* TO 'keystoneUser'@'%' IDENTIFIED BY 'keystonePass'; mysql> CREATE DATABASE glance; @@ -220,10 +220,10 @@ iface eth2 inet dhcp Run Scripts: - # chmod +x keystone_basic.sh - # chmod +x keystone_endpoints_basic.sh - # ./keystone_basic.sh - # ./keystone_endpoints_basic.sh + $ chmod +x keystone_basic.sh + $ chmod +x keystone_endpoints_basic.sh + $ ./keystone_basic.sh + $ ./keystone_endpoints_basic.sh @@ -235,22 +235,22 @@ iface eth2 inet dhcp Paste the following: - # export OS_TENANT_NAME=admin - # export OS_USERNAME=admin - # export OS_PASSWORD=admin_pass - # export OS_AUTH_URL="http://192.168.100.51:5000/v2.0/" + $ export OS_TENANT_NAME=admin + $ export OS_USERNAME=admin + $ export OS_PASSWORD=admin_pass + $ export OS_AUTH_URL="http://192.168.100.51:5000/v2.0/" Load the above credentials: - # source Crediantials.sh + $ source Crediantials.sh To test Keystone, we use a simple CLI command: - # keystone user-list + $ keystone user-list @@ -356,13 +356,13 @@ flavor = keystone To test Glance, upload the “cirros cloud image” directly from the internet: - # glance image-create --name OS4Y_Cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img + $ glance image-create --name OS4Y_Cirros --is-public true --container-format bare --disk-format qcow2 --location https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img Check if the image is successfully uploaded: - # glance image-list + $ glance image-list