Edit iocage fstab WITHOUT using vi

Status
Not open for further replies.

Cytomax

Explorer
Joined
Nov 29, 2015
Messages
67
Okay seriously i enjoy having some fun and playing with freenas and using the latest beta and trying to get it to work but i draw the line at using vi.
When running
iocage fstab -e jail
it uses vi to open fstab

There has to be a way to use a sane editor anything other than vi anything that doesnt require you to read a manual to edit a few letters
Thanks in adavnce
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
At the shell, run setenv EDITOR /usr/local/bin/nano and then run iocage fstab -e <jailname>

Edit: Also learn vi. Not saying it's a better editor, but you can be damn sure it'll be on every FreeNAS and FreeBSD install.
 
Status
Not open for further replies.
Top