openstack官网常用命令行
2022-09-25 本文已影响0人
waypec
openstack server create
--flavor <flavor>
(--image <image> | --image-property <key=value> | --volume <volume> | --snapshot <snapshot>)
[--boot-from-volume <volume-size>]
[--block-device-mapping <dev-name=mapping>]
[--block-device]
[--swap <swap>]
[--ephemeral <size=size[,format=format]
>]
[--network <network>]
[--port <port>]
[--nic <net-id=net-uuid,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag,auto,none>]
[--password <password>]
[--security-group <security-group>]
[--key-name <key-name>]
[--property <key=value>]
[--file <dest-filename=source-filename>]
[--user-data <user-data>]
[--description <description>]
[--availability-zone <zone-name>]
[--host <host>]
[--hypervisor-hostname <hypervisor-hostname>]
[--hint <key=value>]
[--use-config-drive | --no-config-drive | --config-drive <config-drive-volume>|True]
[--min <count>]
[--max <count>]
[--tag <tag>]
[--hostname <hostname>]
[--wait]
[--trusted-image-cert <trusted-cert-id>]
<server-name>