[libvirt-users] Booting virtual machines automatically

Daniel Gonzalez gonvaled at gonvaled.com
Mon Mar 5 10:08:18 UTC 2012


Thanks Alex,

That did the trick. Now I am curious: how is libvirtd started at all?

I have Ubuntu 10.10, and I have noticed the presence of a symbolic link:

lrwxrwxrwx 1 root root 21 2011-05-26 09:45 /etc/init.d/libvirt-bin ->
/lib/init/upstart-job

But this script is not used in any of the runlevels. Who is starting
libvirtd?

Thanks,
Daniel Gonzalez

On Thu, Mar 1, 2012 at 4:21 PM, Alex Jia <ajia at redhat.com> wrote:

> Hi Daniel,
> The following autostart should be okay for you:
>
> # virsh help autostart
>  NAME
>    autostart - autostart a domain
>
>  SYNOPSIS
>    autostart <domain> [--disable]
>
>  DESCRIPTION
>    Configure a domain to be automatically started at boot.
>
> Regards,
> Alex
>
>
> ----- Original Message -----
> From: "Daniel Gonzalez" <gonvaled at gonvaled.com>
> To: libvirt-users at redhat.com
> Sent: Thursday, March 1, 2012 10:51:45 PM
> Subject: [libvirt-users] Booting virtual machines automatically
>
>
> Hello,
>
>
> I am managing several virtual machines (a predefined set) with virsh, and
> I would like to make sure that all VMs are booted when the host reboots.
>
>
> What is the recommended approach for this?
>
>
> Thanks,
> Daniel Gonzalez
>
>
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20120305/018ca245/attachment.htm>


More information about the libvirt-users mailing list