Linux command
openstack 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List servers
openstack server list
Create server
openstack server create --flavor [m1.small] --image [ubuntu] --network [net] [name]
List images
openstack image list
List flavors
openstack flavor list
Show server details
openstack server show [server_name]
Delete server
openstack server delete [server_name]
说明
openstack is the unified CLI for OpenStack cloud services. It provides a single interface to manage compute, storage, networking, and identity services. Configuration is typically in clouds.yaml or environment variables.
参数
- server
- Compute instance commands.
- image
- Image commands.
- network
- Network commands.
- volume
- Block storage commands.
- flavor
- Flavor commands.
- --os-cloud _name_
- Use cloud config.
- -f _format_
- Output format.
FAQ
What is the openstack command used for?
openstack is the unified CLI for OpenStack cloud services. It provides a single interface to manage compute, storage, networking, and identity services. Configuration is typically in clouds.yaml or environment variables.
How do I run a basic openstack example?
Run `openstack server list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does server do in openstack?
Compute instance commands.