mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-12 01:40:40 +01:00
Change Windows to put 8 ahci devices on one controller by default
This allows adding disks without pushing network devices onto higher slots, causing Windows to see it as a new interface.
This commit is contained in:
@@ -411,7 +411,7 @@ vm::bhyve_device_disks(){
|
||||
[ ${VERSION_BSD} -ge 1101000 ] || \
|
||||
[ ${VERSION_BSD} -ge 1004000 ]; then
|
||||
|
||||
if [ -n "${_ahci_multi}" ]; then
|
||||
if [ -n "${_ahci_multi}" ]; then
|
||||
|
||||
# see if it's numeric
|
||||
echo "${_ahci_multi}" | egrep -iqs '^[0-9]+$'
|
||||
|
||||
@@ -122,7 +122,7 @@ util::restart_service(){
|
||||
# show version
|
||||
#
|
||||
util::version(){
|
||||
echo "vm-bhyve: Bhyve virtual machine management v${VERSION} (build ${VERSION_INT})"
|
||||
echo "vm-bhyve: Bhyve virtual machine management v${VERSION} (rev. ${VERSION_INT})"
|
||||
}
|
||||
|
||||
# show version & usage information
|
||||
|
||||
@@ -3,6 +3,7 @@ graphics="yes"
|
||||
xhci_mouse="yes"
|
||||
cpu=2
|
||||
memory=2G
|
||||
ahci_device_limit="8"
|
||||
network0_type="e1000"
|
||||
network0_switch="public"
|
||||
disk0_type="ahci-hd"
|
||||
|
||||
Reference in New Issue
Block a user