Oracle Solaris Networking (MOSC)

MOSC Banner

Changing hostname and IP before booting Solaris 11

edited Oct 20, 2019 9:27PM in Oracle Solaris Networking (MOSC) 2 commentsAnswered

We're doing some recovery testing of a Solaris 11 production system.  Immediately after recovery and before we boot the restored OS we want to change the hostname and IP address so that it does not conflict with the real production system. Changing the hostname involves running svccfg/svcadm and changing IP address is via ipadm. 

Does anyone know how to run these commands against an inactive instance of Solaris 11?  In the old days of Solaris 10 we'd just mount the root filesystem onto /mnt then edit /mnt/etc/hosts and reboot but I cannot see how to do the equivalent under Solaris 11.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center