3. openstack stack create 명령어를 이용해 다음과 같이 스택을 생성합니다. 대시보드와 조금 다르게–parameter 옵션 뒤에 템플릿에서 설정한 파라미터 값을 모두 입력합니다. 그리고 -t 옵션 뒤에 템플릿 파일과 스택 이름을 입력하면 다음과 같이 스택이 생성됩니다.
nalee@controller:~$ openstack stack create –parameter “key_
name=developer1;image_id=cirros-0.3.4-x86_64-uec;instancetype=m1.nano” -t heat
template1.txt test-stack1
+———————+—————————————————–+
| Field | Value |
+———————+—————————————————–+
| id | 228f3906-f065-45d9-a7c5-b80e809ffad3 |
| stack_name | test-stack1 |
| description | Simple template to deploy a single compute instance |
| creation_time | 2016-08-24T09:37:06 |
| updated_time | None |
| stack_status | CREATE_IN_PROGRESS |
| stack_status_reason | Stack CREATE started |
+———————+—————————————————–+