diff --git a/installer/find-and-install b/installer/find-and-install index 5b3016b..6c3c18a 100755 --- a/installer/find-and-install +++ b/installer/find-and-install @@ -121,6 +121,7 @@ done . /kayak/lib/install_help.sh . /kayak/lib/disk_help.sh +SetupLog /tmp/kayak.log BuildRpoolOnly $DISKLIST rm -f $SCRATCH diff --git a/installer/rpool-install b/installer/rpool-install index 5d788f7..f77978a 100644 --- a/installer/rpool-install +++ b/installer/rpool-install @@ -38,6 +38,8 @@ echo "Installing from ZFS image $ZFS_IMAGE" . /kayak/lib/disk_help.sh . /kayak/lib/install_help.sh +SetupLog /tmp/kayak.log + prompt_hostname omniosce prompt_timezone diff --git a/lib/disk_help.sh b/lib/disk_help.sh index 0957d6b..2bd5ce1 100644 --- a/lib/disk_help.sh +++ b/lib/disk_help.sh @@ -78,7 +78,7 @@ ListDisks() { } ListDisksAnd() { - num=`echo $1 | sed sed -e 's/[^,]//g;' | wc -c` + num=`echo $1 | sed -e 's/[^,]//g;' | wc -c` ((EXPECT = num + 0)) for part in `echo $1 | sed -e 's/,/ /g;'`; do ListDisks $part