M #-: Create vm_dir (#365)

This commit is contained in:
Jan Orel authored and GitHub committed 2020-10-27 09:51:40 +01:00
1 parent 44beefa77e
commit 440941d712
1 file changed
+8 -1
+8 -1
View File
@@ -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,