diff --git a/lib/vm-guest b/lib/vm-guest index 9359158..3e69e0f 100644 --- a/lib/vm-guest +++ b/lib/vm-guest @@ -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"