[Bug 203777] bsdinstall(8) zfsboot script unusable for unattended installs, unless "internal" variable nonInteractive is set
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Oct 15 18:47:02 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203777
--- Comment #1 from fre.fbsdpr at expertmaker.com ---
(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.
More information about the freebsd-bugs
mailing list