diff -Nru maas-1.3+bzr1461+dfsg/debian/extras/99-maas-sudoers maas-1.3+bzr1461+dfsg/debian/extras/99-maas-sudoers --- maas-1.3+bzr1461+dfsg/debian/extras/99-maas-sudoers 2013-04-18 16:49:52.000000000 -0400 +++ maas-1.3+bzr1461+dfsg/debian/extras/99-maas-sudoers 2013-04-23 14:02:26.000000000 -0400 @@ -1,3 +1,4 @@ maas ALL= NOPASSWD: /usr/sbin/service maas-dhcp-server restart maas ALL= NOPASSWD: /usr/sbin/maas-provision +maas ALL= NOPASSWD: /usr/bin/virsh maas ALL= NOPASSWD: SETENV: /usr/sbin/maas-import-pxe-files diff -Nru maas-1.3+bzr1461+dfsg/debian/patches/99-fix-virsh-template.patch maas-1.3+bzr1461+dfsg/debian/patches/99-fix-virsh-template.patch --- maas-1.3+bzr1461+dfsg/debian/patches/99-fix-virsh-template.patch 1969-12-31 19:00:00.000000000 -0500 +++ maas-1.3+bzr1461+dfsg/debian/patches/99-fix-virsh-template.patch 2013-04-23 14:02:09.000000000 -0400 @@ -0,0 +1,13 @@ +Index: maas-1.3+bzr1461+dfsg/src/provisioningserver/power/templates/virsh.template +=================================================================== +--- maas-1.3+bzr1461+dfsg.orig/src/provisioningserver/power/templates/virsh.template 2013-04-18 16:48:36.000000000 -0400 ++++ maas-1.3+bzr1461+dfsg/src/provisioningserver/power/templates/virsh.template 2013-04-23 14:02:07.105115198 -0400 +@@ -37,7 +37,7 @@ + + # Issue command to virsh, for the given system. + issue_virsh_command() { +- ${virsh} --connect ${power_address} $1 ${power_id} ++ sudo ${virsh} --connect ${power_address} $1 ${power_id} + } + +