Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kairen/maas-wakeonlan-driver
Patch the WoL Driver in MAAS 2.2+
https://github.com/kairen/maas-wakeonlan-driver
maas wol-driver
Last synced: about 2 months ago
JSON representation
Patch the WoL Driver in MAAS 2.2+
- Host: GitHub
- URL: https://github.com/kairen/maas-wakeonlan-driver
- Owner: kairen
- Created: 2017-06-10T12:29:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-06-24T09:29:39.000Z (over 3 years ago)
- Last Synced: 2024-04-28T05:03:40.599Z (8 months ago)
- Topics: maas, wol-driver
- Language: Python
- Homepage:
- Size: 87.9 KB
- Stars: 16
- Watchers: 7
- Forks: 19
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://stgraber.org/2017/04/02/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:
```sh
$ 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
```![](snapshot/wol.png)