Chapter 33. Tips and tricks
This chapter contain useful hints and tips to improve virtualization performance, scale and stability.
33.1. Automatically starting guests Copiar o linkLink copiado para a área de transferência!
Copiar o linkLink copiado para a área de transferência!
This section covers how to make guests start automatically during the host system's boot phase.
This example uses
virsh
to set a guest, TestServer
, to automatically start when the host boots.
virsh autostart TestServer
# virsh autostart TestServer
Domain TestServer marked as autostarted
The guest now automatically starts with the host.
To stop a guest automatically booting use the
--disable
parameter
virsh autostart --disable TestServer
# virsh autostart --disable TestServer
Domain TestServer unmarked as autostarted
The guest no longer automatically starts with the host.