20.27. kb-00026: Change a Machines Name

20.27.1. Knowledge Base Article: kb-00026

20.27.2. Description

This article describes how an operator can attempt to change a Machine’s defined name, inside the deployed Operating System.

Note

Machine name changes must be supported by the Workflow being executed, to affect the change inside the Operating System. Most RackN and Digital Rebar provided content supports this methodology. However, if you are customizing your kickstart or preseed templates, this process may not work if you have not arranged for these Param values to be utilized.

20.27.3. Solution

If you wish to update/change a Machine Name, you can do:

export UUID="abcd-efgh-ijkl-mnop-qrst"
drpcli machines update $UUID '{ "Name": "foobar" }'

Note

Note that you can NOT use the drpcli machines set ... construct as it only sets Param values. The Machines name is a Field, not a Parameter. This will NOT work: drpcli machines set $UUID param Name to foobar.

20.27.4. Additional Information

Additional resources and information related to this Knowledge Base article.

20.27.4.1. See Also

20.27.4.2. Versions

all

20.27.4.3. Keywords

content, machine name, change name

20.27.4.4. Revision Information

KB Article     :  kb-00026
initial release:  Wed Jun 10 12:07:40 PDT 2020
updated release:  Wed Jun 10 12:07:40 PDT 2020