The prlctl set
command allows you to define the onboot
startup parameter for virtual machines and containers. Setting this parameter to yes
makes your virtual machine or container automatically boot at the physical server startup. For example, to enable the container MyCT
and the virtual machine MyVM
to automatically start on your server boot, you can execute the following commands:
-
For the container
MyCT
:# prlctl set MyCT --onboot yes
-
For the virtual machine
MyVM
:# prlctl set MyVM --onboot yes
Notice that the onboot
parameter will have effect only on the next server startup.