From 272867304a9910db3f07ea15635dd95df1b8c4c6 Mon Sep 17 00:00:00 2001 From: bbbb Date: Tue, 16 Apr 2024 11:27:20 +0200 Subject: [PATCH] reparation script mkvm.ps1 --- scripts/mkvm.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/mkvm.ps1 b/scripts/mkvm.ps1 index d3ad051..ebe915f 100644 --- a/scripts/mkvm.ps1 +++ b/scripts/mkvm.ps1 @@ -31,7 +31,7 @@ $vmCpus = @{ function create_vm{ param([string]$nomvm) if ($vmMem.ContainsKey($nomvm)) { - & "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm" --memory $vmMem[$nomvm] --cpus $vmCpus[$nomvm} + & "$vboxmanage" import "$ovafile" --vsys 0 --vmname "$nomvm" --memory $vmMem[$nomvm] --cpus $vmCpus[$nomvm] Write-Host "Machine $nomvm importée" } else { #Importation depuis l'ova