jails FreeBSD 12.2-RELEASE + Ezjail-Admin Jail [Change Hostname without cloning?]

When I created my jails; I never used full domain names for the naming which ended up being the inherent hostname for the jail. Is there a way to change the hostname to reflect the command line prompt?

I have the hostname set to a full dns name in /etc/rc.conf; I just don't know if I have to clone it, then use a new name (I was hoping there was a way to "edit"). If anyone knows how. Please let me know! Thank you!
 
Have a look in /usr/local/etc/ezjail, one of the variables, export jail_<vm>_hostname=, might help.
 
Back
Top