New answers tagged

0 Does that help at all? I know the situation that you're in-- I don't think it's on Ubuntu's web site at all.


This might not be the most elegant solution but it did the trick for me. It selects the first two disks that are less than 1000MB to use for the raid d-i partman/early_command string \ NODEVICES=$(list-devices disk | wc -l);\ SIZELIMIT=1000;\ FOUNDDISK=0;\ COUNTER=0;\ while [ "$COUNTER" -ne "$NODEVICES" ]; do\ COUNTER=$((COUNTER+1));\ if [ $COUNTER -eq 1 ]; ...

Top 50 recent answers are included