Skip to content

kairen/maas-wakeonlan-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu MAAS 2.2+ Wake on LAN Driver Patch

The WoL driver has indeed been removed from MAAS 2.0, but I need the WoL driver to test some problems. I find one way from Using Wake on LAN with MAAS 2.x, but this way can't solve on MASS 2.2+, so I modified the some code to provider the WoL Driver.

Requirement:

  • Install the wakeonlan tool on MAAS Server.
  • MAAS v2.2+.

The driver has been tested on MAAS 2.3.3.

Start to patch the WoL driver as below:

$ sudo apt-get install -y wakeonlan
$ git clone https://github.com/kairen/maas-wakeonlan-driver.git
$ cd maas-wakeonlan-driver
$ PATCH_DIR="/usr/lib/python3/dist-packages/provisioningserver/"
$ sudo patch -p1 -d ${PATCH_DIR} < maas-wol.diff 
$ sudo systemctl restart maas-rackd.service maas-regiond.service

About

Patch the WoL Driver in MAAS 2.2+

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages