How to use prlctl to connect an existing .hdd file?

BradC4

Bit poster
I have an existing .hdd file from a previous .pvm that I want to connect to a newly generated .pvm using prlctl
I have one directory: oldharddrive.hdd

This is what I've done so far:
$ prlctl create newvm --ostype macos --no-hdd
This works great.
Now what I want is to connect oldharddrive.hdd to newvm.pvm

I know I can do this using the GUI but I want to use prlctl.
I have a feeling that the command is something like the below:
$ prlctl set --device-add hdd
But there doesn't seem to be a mode that adds an existing .hdd file

Thanks for a great product!
 
This line should work.
prlctl set $VM_ID --device-add hdd --image $PATH_TO_.hdd_DIR
Please try on existed empty image first. Looks like this won't recreate hdd image at $PATH_TO_.hdd_DIR:)
 
Back
Top