Skip to content

hostname

Dilshat edited this page Aug 22, 2018 · 4 revisions

Hostname

Important: See Version 8 section below

hostname <container name> <new name> - sets the hostname of a container

hostname <new RH name> - sets the hostname of a RH

Example:

subutai hostname container1 c1

subutai hostname RH1

Version 8

Since agent version 8, hostname command format changed to:

subutai hostname rh my-rh-1

subutai hostname con container1 my-c1

Description:

Hostname command changes container or RH configs to apply a new name for the it. Used for internal purposes.