Just got my new xen image from Stacklet.org. Everything goes fine except when I try to add some cron activity, something strange appear :
bash# crontab -e
no crontab for root - using an empty one
/bin/sh: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127
what? no vi with a defautl install ? hmm.. I wonder why they strip off the vi editor. Never mind. Googling around and I found some work around to make this happen.
Put a file in your ~.
bash# touch ~/.bashrc
add with your prefered editor.
export VISUAL=nano
refresh
bash# source ~/.bashrc
bash# crontab -e
no crontab for root - using an empty one
/bin/sh: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127
what? no vi with a defautl install ? hmm.. I wonder why they strip off the vi editor. Never mind. Googling around and I found some work around to make this happen.
Put a file in your ~.
bash# touch ~/.bashrc
add with your prefered editor.
export VISUAL=nano
refresh
bash# source ~/.bashrc
Comments