Skip to content
Browse files

Enable the /etc/netcli script to run on ttyu2, for BHyve.

BHyve does not emulate the video console, so does not have
/dev/ttyv[n] devices.  However, BHyve emulates a PCI serial port
on /dev/ttyu2.  Enable the /etc/netcli script to run on /dev/ttyu2,
so that the CLI menu can start on BHyve.
With this change, it is possible to boot and run *NAS under BHyve.

(cherry picked from commit bd4172ed514040ca72d64425b6b1870dbbb51718)
  • Loading branch information...
1 parent a4217dc commit 7eb978c8c0816f9ede8eaf817797902ad2110865 Craig Rodrigues committed Sep 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 nanobsd/Files/etc/ttys
2 nanobsd/Files/etc/ttys
@@ -44,7 +44,7 @@ ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0 "/usr/libexec/getty std.9600" dialup off secure
ttyu1 "/usr/libexec/getty std.9600" dialup off secure
-ttyu2 "/usr/libexec/getty std.9600" dialup off secure
+ttyu2 "/usr/libexec/getty freenas" vt100 on secure
ttyu3 "/usr/libexec/getty std.9600" dialup off secure
# Dumb console
dcons "/usr/libexec/getty std.9600" vt100 off secure

0 comments on commit 7eb978c

Please sign in to comment.
Something went wrong with that request. Please try again.