Setting Startup Parameters
The
pctl set
command allows you to define the
onboot
startup parameter for virtual machines and Containers. Setting this parameter to
yes
makes your virtual machine and Container automatically boot at the physical server startup. For example, to enable Container 101 and the
MyVM
virtual machine to automatically start on your server boot, you can execute the following commands:
-
For Container 101:
# pctl set 101 --onboot yes --save
Saved parameters for Container 101
-
For the
MyVM
virtual machine:
# pctl set MyVM --onboot yes
Notice that the
onboot
parameter will have effect only on the next server startup.
|