此内容没有您所选择的语言版本。

5.129. nova rebuild


usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll]
                    [--minimal] [--preserve-ephemeral] [--name <name>]
                    [--description <description>] [--meta <key=value>]
                    [--file <dst-path=src-path>]
                    <server> <image>
Copy to Clipboard Toggle word wrap
Shutdown, re-image, and re-boot a server.

Positional arguments

<server>


        Name or ID of server.

<image>


        Name or ID of new image.

Optional arguments

--rebuild-password <rebuild-password>


      Set the provided admin password on the rebuilt
      server.

--poll


        Report the server rebuild progress until it
      completes.

--minimal


        Skips flavor/image lookups when showing
      servers.

--preserve-ephemeral


        Preserve the default ephemeral storage
      partition on rebuild.

--name <name>


        Name for the new server.

--description <description>


        New description for the server. (Supported by
      API versions '2.19' - '2.latest')

--meta <key=value>


        Record arbitrary key/value metadata to
      /meta_data.json on the metadata server. Can be
      specified multiple times.

--file <dst-path=src-path>


        Store arbitrary files from <src-path> locally
      to <dst-path> on the new server. You may store
      up to 5 files.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat