mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 09:20:17 +01:00
Pass the vm name to bhyveload guests as a variable.
This commit is contained in:
@@ -67,7 +67,7 @@ guest::load(){
|
||||
case "${_loader}" in
|
||||
bhyveload)
|
||||
_command="bhyveload"
|
||||
_args="${_args}${_args:+ }-m ${_memory} -e smbios.system.uuid=${_uuid} -e autoboot_delay=${_timeout}"
|
||||
_args="${_args}${_args:+ }-m ${_memory} -e smbios.system.uuid=${_uuid} -e autoboot_delay=${_timeout} -e bhyve_vm_name=${_name}"
|
||||
|
||||
# look for custom bhyveload arguments
|
||||
config::get "_custom_args" "bhyveload_args"
|
||||
|
||||
Reference in New Issue
Block a user