标签:def 创建 tac flavor launch ros create openstack name
$ openstack server create --flavor 1 --image 397e713c-b95b-4186-ad46-6126863ea0a9 --security-group default --key-name KeyPair01 --user-data cloudinit.file myCirrosServer
$ openstack volume create --size 8 my-volume
$ openstack server create --flavor 2 --image 98901246-af91-43d8-b5e6-a4506aa8f369 --block-device source=volume,id=d620d971-b160-4c4e-8652-2513d74e2080,dest=volume,shutdown=preserve myInstanceWithVolume #附加新卷
$ nova boot --flavor FLAVOR --block-device source=SOURCE,id=ID,dest=DEST,size=SIZE,shutdown=PRESERVE,bootindex=INDEX NAME #对应界面创建 id是前面的
SOURCE
标签:def 创建 tac flavor launch ros create openstack name
原文地址:https://www.cnblogs.com/ddz-7777/p/11387439.html