My Oracle Support Banner

How to Permanently Change Hostname in Oracle Cloud Infrastructure (OCI) Compute Environment on Oracle Linux (Doc ID 2325469.1)

Last updated on OCTOBER 13, 2020

Applies to:

Oracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Linux OS - Version Oracle Linux 6.0 and later
Linux x86-64 on Oracle Public Cloud


Questions on how to permanently change the hostname of an Oracle Cloud Infrastructure (OCI) compute instance.

Please Note: By design, changes made in the /etc/hosts and resolve.conf files revert to their original values, after an instance restart, unless these steps are implemented.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.