Commit 95fb7d55 authored by Natanael Copa's avatar Natanael Copa

setup-disk: unbreak the possibility to add a device as parameter

parent 20a9a270
......@@ -569,9 +569,9 @@ if [ $# -gt 0 ]; then
exit 1
fi
done
rootdisk_dev=$1
else
ask_disk "Which one is the root disk? (or '?' for help or 'none')" \
ask_disk "Which one is the root/boot disk? (or '?' for help or 'none')" \
rootdisk_help $disks
rootdisk=$answer
rootdisk_dev=/dev/$answer
......
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