Commit ca0e1095 authored by Natanael Copa's avatar Natanael Copa
Browse files

setup-interfaces: use vi as default editor

since nano is not shipped with mini iso.
parent 4e7ab745
......@@ -141,12 +141,11 @@ while [ "$answer" != "yes" ] && [ "$answer" != "no" ] ; do
if [ "$answer" = "yes" ]; then
[ -z "$EDITOR" ] && EDITOR=nano
case $EDITOR in
case "$EDITOR" in
nano) pkg_inst nano;;
vim) pkg_inst vim;;
$EDITOR interfaces
${EDITOR:-vi} interfaces
mkdir -p $ROOT/etc/network
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment