Page cover

create

The create command creates a new bare metal server in your project. This command allows you to add a new bare metal instance using the specified project ID, compute profile, and server name.

Usage

cldkctl baremetal create [flags]

Aliases

create, add

Steps

Follow the steps below to run and view the result of this command:

  1. Ensure that you already have a valid Project ID. Refer to the Project List section to obtain your project ID.

  2. Identify the available compute profile for your server. Currently, only the bmaas-test-profile is available.

  3. Run the following command in your terminal:

cldkctl baremetal create --project [project ID] --name [instance name] --compute-profile [compute profile]
  1. Replace [project ID] with your actual project ID, [instance name] with your desired bare metal server name, and [compute profile] with the compute profile name.

  2. Once completed successfully, the terminal displays the success message "Bare metal instance successfully created".

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-c, --compute-profile string

Specify the compute profile.

-h, --help

Help for baremetal create command.

-n, --name string

Specify the instance name.

-p, --project string

Specify the project ID.

Last updated