Controller Node:
1. source demo-openrc.sh
2. ssh-keygen
3. nova keypair-add --pub-key ~/.ssh/id_rsa.pub demo-key
4. nova keypair-list
5. nova flavor-list
6. nova image-list
7. nova net-list (切换至admin-openrc)
8. nova secgroup-list (切换至admin-openrc)
9. 生成实例并且运行
nova boot --flavor m1.tiny --image cirros-0.3.2-x86_64 --nic net-id=第七步中得到的值 --security-group default --key-name demo-key demo-instance1
10. 检查实例运行状态
nova list
11. 打开VNC远程控制台
nova get-vnc-console demo-instance1 novnc
12. 修改一些防火墙策略
nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0