https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203777

--- Comment #1 from [email protected] ---
(In reply to fre.fbsdpr from comment #0)

Ah, upon looking more at the bsdinstall(8) scripts (/usr/libexec/bsdinstall/*)
and subroutines (/usr/share/bsdconfig/*) I found that the "input" variable is
called VAR_NONINTERACTIVE, not NONINTERACTIVE, as mentioned by the mail I
previously referred to.

Still, if not set, this should be set in /usr/libexec/bsdinstall/script,
perhaps something like,

  if [ "$ZFSBOOT_DISKS" ]; then
          case "$VAR_NONINTERACTIVE" in
                  0|[Nn][Oo]|[Oo][Ff][Ff]|[Ff][Aa][Ll][Ss][Ee]) : do nothing ;;
                  *) export VAR_NONINTERACTIVE="YES"
          esac
          bsdinstall zfsboot
  else
          bsdinstall scriptedpart "$PARTITIONS"
  fi

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to