Skip to content

Commit

Permalink
Text installer does not work
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Mar 8, 2020
1 parent c1b3d89 commit f5f3bab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions installer/find-and-install
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ done

. /kayak/lib/install_help.sh
. /kayak/lib/disk_help.sh
SetupLog /tmp/kayak.log
BuildRpoolOnly $DISKLIST

rm -f $SCRATCH
Expand Down
2 changes: 2 additions & 0 deletions installer/rpool-install
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/disk_help.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5f3bab

Please sign in to comment.