Resize 命令

  1. 查詢 openstack server resize 輔助說明。
    [root@ip110 ~]<demo># openstack help server resize 
    usage: openstack server resize [-h] [--flavor <flavor> | --confirm | --revert]
                                   [--wait]
                                   <server>
    
    Scale server to a new flavor. A resize operation is implemented by creating a
    new server and copying the contents of the original disk into a new one. It is
    also a two-step process for the user: the first is to perform the resize, the
    second is to either confirm (verify) success and release the old server, or to
    declare a revert to release the new server and restart the old one.
    
    positional arguments:
      <server>           Server (name or ID)
    
    optional arguments:
      -h, --help         show this help message and exit
      --flavor <flavor>  Resize server to specified flavor
      --confirm          Confirm server resize is complete
      --revert           Restore server state before resize
      --wait             Wait for resize to complete