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

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2026 Red Hat
Back to top