최신판 |
당신의 편집 |
269번째 줄: |
269번째 줄: |
|
| |
|
| ==예시== | | ==예시== |
| 서버 <code>appweb01</code>에 대한 상세 정보를 표시하는 예시:
| |
|
| |
| <syntaxhighlight lang='bash'>
| |
| openstack \
| |
| --os-project-name ExampleCo \
| |
| --os-username demo --os-password secret \
| |
| --os-auth-url http://localhost:5000:/v2.0 \
| |
| server show appweb01
| |
| </syntaxhighlight>
| |
|
| |
| keystone에서 openid를 사용하여 인증하는 동일한 명령어:
| |
|
| |
| <syntaxhighlight lang='bash'>
| |
| openstack \
| |
| --os-project-name ExampleCo \
| |
| --os-auth-url http://localhost:5000:/v2.0 \
| |
| --os-auth-plugin openid \
| |
| --os-auth-type v3oidcpassword \
| |
| --os-username demo-idp \
| |
| --os-password secret-idp \
| |
| --os-identity-provider google \
| |
| --os-client-id the-id-assigned-to-keystone-in-google \
| |
| --os-client-secret 3315162f-2b28-4809-9369-cb54730ac837 \
| |
| --os-openid-scope 'openid email profile'\
| |
| --os-protocol openid \
| |
| --os-access-token-type access_token \
| |
| --os-discovery-endpoint https://accounts.google.com/.well-known/openid-configuration \
| |
| server show appweb01
| |
| </syntaxhighlight>
| |
|
| |
| 인증 환경변수(<code>OS_AUTH_URL</code>, <code>OS_PROJECT_NAME</code>, <code>OS_USERNAME</code>, <code>OS_PASSWORD</code>)가 설정된 경우의 동일한 명령어:
| |
|
| |
| <syntaxhighlight lang='bash'>
| |
| openstack server show appweb01
| |
| </syntaxhighlight>
| |
|
| |
| 새 이미지를 생성하는 명령어:
| |
|
| |
| <syntaxhighlight lang='bash'>
| |
| openstack image create \
| |
| --disk-format=qcow2 \
| |
| --container-format=bare \
| |
| --public \
| |
| --copy-from http://somewhere.net/foo.img \
| |
| foo
| |
| </syntaxhighlight>
| |
|
| |
| ==파일== | | ==파일== |
| ;<code>~/.config/openstack/clouds.yaml</code> | | ;<code>~/.config/openstack/clouds.yaml</code> |