Fixes missing diskblocksize parameter for gen1 vms

This commit is contained in:
Stefan Henseler 2018-04-18 22:14:44 +02:00
parent 03f0b4aa11
commit b8bf421dc2
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ if ($harddrivePath){
}
`
var ps powershell.PowerShellCmd
if err := ps.Run(script, vmName, path, harddrivePath, vhdRoot, strconv.FormatInt(ram, 10), strconv.FormatInt(diskSize, 10), switchName, strconv.FormatBool(diffDisks)); err != nil {
if err := ps.Run(script, vmName, path, harddrivePath, vhdRoot, strconv.FormatInt(ram, 10), strconv.FormatInt(diskSize, 10), strconv.FormatInt(diskBlockSize, 10), switchName, strconv.FormatBool(diffDisks)); err != nil {
return err
}