The fix for this is ato add the following line to /etc/sudoers.d/99
-maas-sudoers:

maas ALL= NOPASSWD: /usr/sbin/etherwake

and edit /etc/maas/templates/power/ether_wake.template to change:

/usr/sbin/etherwake $mac_address

to:

sudo /usr/sbin/etherwake $mac_address

If the network that you need to send to is not eth0 then you need to use
the following instead:

sudo /usr/sbin/etherwake -i ethx $mac_address

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1396740

Title:
  etherwake does not wake up machines

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1396740/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to