Skip to content

Daemon to listen for wake on lan packets and start libvirt based VMs

License

Notifications You must be signed in to change notification settings

konistehrad/libvirt-wakeonlan

 
 

Repository files navigation

INTRODUCTION

libvirt-wakeonlan is a daemon which listens for wake on lan packets and starts libvirt based virtual machines.

INSTALLATION

RPM/DEB/Ebuild INSTALL ( Recommended )

Download and install the package for your distro from http://lvwol.niftiestsoftware.com ( coming soon ).

Refer to your own specific distribution instructions for how to install the package. Once installed, the daemon is installed as a standard service, refer to your distribution information on how to start and stop services, and ( if desired ) how to have it run automatically on boot.

SOURCE INSTALL

Clone the git repo:

git clone git://github.com/simoncadman/libvirt-wakeonlan.git

cd libvirt-wakeonlan/ ./configure make install

Run the daemon ( eg. service libvirt-wakeonlan start ).

CONFIGURATION

libvirt-wakeonlan listens on eth0 by default for Wake-on-lan packets, to change this, there is a configuration file for the libvirt-wakeonlan service ( in /etc/conf.d/ on Gentoo, /etc/sysconfig on Fedora and /etc/default on Debian ), within it is a parameter called "LIBVIRTDWOL_INTERFACE" which specifies the interface used.

DEVELOPING

Before commiting to the git repository you should set up the pre-commit hook, this ensures the version numbers in the scripts are updated:

ln -s ../../pre-commit.py .git/hooks/pre-commit

Copyright

Software and icon are copyright Simon Cadman and licenced under GNU GPL v3 ( http://www.gnu.org/licenses/gpl.html ).

About

Daemon to listen for wake on lan packets and start libvirt based VMs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 52.8%
  • Python 40.9%
  • Makefile 5.3%
  • M4 1.0%