mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
M #: Add debug information to Firecracker deploy action (#1278)
(cherry picked from commit 26bcc62d9b)
This commit is contained in:
1 parent
7da1cdaa86
commit
8661fb79d9
1 file changed
+5
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user