mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 06:15:33 -04:00
vmrun: Expose bhyve's -G option
MFC after: 1 week
This commit is contained in:
parent
c05614ac97
commit
b59f9d03cd
1 changed files with 6 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ usage() {
|
|||
"[-d <disk file>]"
|
||||
echo " [-e <name=value>] [-f <path of firmware>]" \
|
||||
"[-F <size>]"
|
||||
echo " [-H <directory>]"
|
||||
echo " [-G [w][address:]port] [-H <directory>]"
|
||||
echo " [-I <location of installation iso>] [-l <loader>]"
|
||||
echo " [-L <VNC IP for UEFI framebuffer>]"
|
||||
echo " [-m <memsize>]" \
|
||||
|
|
@ -76,6 +76,7 @@ usage() {
|
|||
echo " -f: Use a specific UEFI firmware"
|
||||
echo " -F: Use a custom UEFI GOP framebuffer size" \
|
||||
"(default: ${DEFAULT_VNCSIZE})"
|
||||
echo " -G: bind the GDB stub to the specified address"
|
||||
echo " -H: host filesystem to export to the loader"
|
||||
echo " -i: force boot of the Installation CDROM image"
|
||||
echo " -I: Installation CDROM image location" \
|
||||
|
|
@ -132,7 +133,7 @@ vncport=${DEFAULT_VNCPORT}
|
|||
vncsize=${DEFAULT_VNCSIZE}
|
||||
tablet=""
|
||||
|
||||
while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do
|
||||
while getopts aAc:C:d:e:Ef:F:G:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do
|
||||
case $c in
|
||||
a)
|
||||
bhyverun_opt="${bhyverun_opt} -a"
|
||||
|
|
@ -165,6 +166,9 @@ while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do
|
|||
F)
|
||||
vncsize="${OPTARG}"
|
||||
;;
|
||||
G)
|
||||
bhyverun_opt="${bhyverun_opt} -G ${OPTARG}"
|
||||
;;
|
||||
H)
|
||||
host_base=`realpath ${OPTARG}`
|
||||
;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue