mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #: Add debug information to Firecracker deploy action (#1278)
This commit is contained in:
parent
2a413d3095
commit
26bcc62d9b
@ -16,11 +16,14 @@
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '../..')
|
||||
$LOAD_PATH.unshift File.dirname(__FILE__)
|
||||
|
||||
require 'client'
|
||||
require 'opennebula_vm'
|
||||
|
||||
require 'scripts_common'
|
||||
|
||||
# This class interacts with Firecracker
|
||||
class MicroVM
|
||||
|
||||
@ -102,6 +105,8 @@ class MicroVM
|
||||
|
||||
return false unless map_context
|
||||
|
||||
OpenNebula.log_debug("Creating VM: '#{cmd}'")
|
||||
|
||||
Command.execute_detach(cmd)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user