diff --git a/builder/parallels/iso/step_create_disk.go b/builder/parallels/iso/step_create_disk.go index abb6ec2aa..8e5fb63d9 100644 --- a/builder/parallels/iso/step_create_disk.go +++ b/builder/parallels/iso/step_create_disk.go @@ -20,7 +20,7 @@ func (s *stepCreateDisk) Run(state multistep.StateBag) multistep.StepAction { command := []string{ "set", vmName, - "--device-set", "hdd0", + "--device-add", "hdd", "--size", strconv.FormatUint(uint64(config.DiskSize), 10), "--iface", config.HardDriveInterface, } diff --git a/builder/parallels/iso/step_create_vm.go b/builder/parallels/iso/step_create_vm.go index 5f9f4b76f..b48b73dbb 100644 --- a/builder/parallels/iso/step_create_vm.go +++ b/builder/parallels/iso/step_create_vm.go @@ -29,6 +29,7 @@ func (s *stepCreateVM) Run(state multistep.StateBag) multistep.StepAction { "--distribution", config.GuestOSType, "--dst", config.OutputDir, "--vmtype", "vm", + "--no-hdd", } commands[1] = []string{"set", name, "--cpus", "1"} commands[2] = []string{"set", name, "--memsize", "512"}