1
0
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:
Christian González 2021-06-07 11:26:02 +02:00 committed by GitHub
parent 2a413d3095
commit 26bcc62d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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