All Projects → kairen → maas-wakeonlan-driver

kairen / maas-wakeonlan-driver

Licence: other
Patch the WoL Driver in MAAS 2.2+

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to maas-wakeonlan-driver

ansible-rabbitmq
Ansible role to install and configure RabbitMQ server.
Stars: ✭ 22 (+46.67%)
Mutual labels:  maas
maasta
MAAS Terraform Ansible
Stars: ✭ 132 (+780%)
Mutual labels:  maas
vboxpower
VirtualBox Power Driver for MAAS
Stars: ✭ 107 (+613.33%)
Mutual labels:  maas
maas-ui
The UI for MAAS (metal-as-a-service)
Stars: ✭ 20 (+33.33%)
Mutual labels:  maas
ansible-maas
No description or website provided.
Stars: ✭ 21 (+40%)
Mutual labels:  maas
Foreman
an application that automates the lifecycle of servers
Stars: ✭ 2,102 (+13913.33%)
Mutual labels:  maas
python-libmaas
Official python client library for MAAS
Stars: ✭ 45 (+200%)
Mutual labels:  maas

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].