SmartOS hostname rename:
(from Bob to Alice)
vmadm get 12345678-e0fa-c099-b6f0-ead8e357826d | grep bob
"alias": "bob",
"hostname": "bob-server",
vmadm update 12345678-e0fa-c099-b6f0-ead8e357826d hostname=alice-server
vmadm update 12345678-e0fa-c099-b6f0-ead8e357826d alias=alice
To actually rename, within the zone, edit:
/etc/nodename
/etc/hosts
/etc/hostname.[interface] (e.g. /etc/hostname.net0)
Tech-oriented notes for myself and hopefully others. Likely to contain musings, pontificating and such.
Subscribe to:
Post Comments (Atom)
Software List (May 2025)
Current App list. Updating because I've been doing a lot of side work w/ Windows machines recently, having to update myself of what'...
-
#1 - Can't mount .VHD(X) files on anything other than NTFS that I have tried, not even ExFAT! #2 - You *CAN* use a symbolic link to a ro...
-
Edit: TLDR: Intro to git from the author of the Pro Git book . What a difference 7 years makes: "Has anyone been to github?", inde...
No comments:
Post a Comment