Standard Jail rename

Status
Not open for further replies.

FlangeMonkey

Contributor
Joined
Dec 6, 2012
Messages
111
Hi Guys,

Is it possible to rename a standard jail (not plugin), in freeNAS? I know it is possible in freebsd, but I'm unsure how things connect together for this peace in freenas so I don't want to break anything or create a disconnect between the GUI and console.

Thanks,
 

kjp4756

Contributor
Joined
Feb 11, 2014
Messages
102

FlangeMonkey

Contributor
Joined
Dec 6, 2012
Messages
111
Thanks for this, its worked a treat:

- stop the jail.
- rename the zfs dataset with zfs rename.
- rename the .$jail.meta directory.
- update the hostname in .$jail.meta/host.
- inside the jail, update the hostname /etc/rc.conf and /etc/hosts.
- start jail again
 
Status
Not open for further replies.
Top