J JayN@VI Bit poster Jan 23, 2012 #1 Is it possible to write a bash script for my Mac that will take an OpenSuse Linux ISO and create a Parallels VM? Using the File -> New -> VM-creation-Wizard is tedious and error prone. I'd like to automate the process from a script. Ideas?
Is it possible to write a bash script for my Mac that will take an OpenSuse Linux ISO and create a Parallels VM? Using the File -> New -> VM-creation-Wizard is tedious and error prone. I'd like to automate the process from a script. Ideas?
J JayN@VI Bit poster Mar 14, 2012 #3 I am aware of prlctl, but I don't see documentation in the man page nor online for the task of creating a VM from an ISO.
I am aware of prlctl, but I don't see documentation in the man page nor online for the task of creating a VM from an ISO.
M mmika Pro Mar 15, 2012 #4 I have tried google to find some examples and found this script: http://testdrive.sourcearchive.com/documentation/3.13/parallels_8py_source.html So, generally you need execute several commands: export $VM_NAME="virtual_machine_name" export $PATH_TO_ISO="path_to_iso_image_file" $prlctl create $VM_NAME --ostype linux --distribution suse $prlctl set $VM_NAME --device-set cdrom0 --image $PATH_TO_ISO --connect $prlctl start $VM_NAME and so on. Also you can use UUID value instead of VM name
I have tried google to find some examples and found this script: http://testdrive.sourcearchive.com/documentation/3.13/parallels_8py_source.html So, generally you need execute several commands: export $VM_NAME="virtual_machine_name" export $PATH_TO_ISO="path_to_iso_image_file" $prlctl create $VM_NAME --ostype linux --distribution suse $prlctl set $VM_NAME --device-set cdrom0 --image $PATH_TO_ISO --connect $prlctl start $VM_NAME and so on. Also you can use UUID value instead of VM name
J JayN@VI Bit poster Mar 15, 2012 #5 Excellent. The prlctl commands above work perfectly. Thank you very much