mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-22 20:54:49 +09:00
M #-: Create vm_dir (#365)
This commit is contained in:
1 parent
44beefa77e
commit
440941d712
1 file changed
+8
-1
@@ -418,7 +418,13 @@ class ExecDriver < VirtualMachineDriver
|
||||
:driver => :vnm,
|
||||
:action => :pre
|
||||
},
|
||||
# Store vm.xml and ds.xml
|
||||
|
||||
# Make vm_dir, store vm.xml and ds.xml
|
||||
{
|
||||
:driver => :vmm,
|
||||
:action => "/bin/mkdir -p",
|
||||
:parameters => [vm_dir]
|
||||
},
|
||||
{
|
||||
:driver => :vmm,
|
||||
:action => "/bin/cat - >#{vm_dir}/vm.xml",
|
||||
@@ -445,6 +451,7 @@ class ExecDriver < VirtualMachineDriver
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
# Execute post-boot networking setup
|
||||
{
|
||||
:driver => :vnm,
|
||||
|
||||
Reference in new issue
Block a user