esac
done
-# install all ssds, or if there are none, all hdds
+# install all ssds, or if there are none, all hdds.
+# Note, usb flash disks are seen as rotational, which is
+# very odd, but convenient for ignoring them here.
+# TODO: find a reliable way to ignore them.
if ! ifclass ROTATIONAL && (( ${#ssds[@]} > 0 )); then
short_devs=( ${ssds[@]} )
else
fi
lukspw=$(cat $luks_dir/iank)
-# # ian: disabled while I use the tp host.
-# if ifclass tp; then
-# lukspw=$(cat $luks_dir/traci)
-# fi
+# # ian: disabled by chaning to tpnew while I use the tp host.
+# # note, corresponding changes in /b/ds/keyscript-{on,off}
+if ifclass tpnew; then
+ lukspw=$(cat $luks_dir/traci)
+fi
if ifclass demohost; then
lukspw=x
fi