diff options
author | mischa <mischa@rx.high5.nl> | 2020-10-25 14:18:59 +0100 |
---|---|---|
committer | mischa <mischa@rx.high5.nl> | 2020-10-25 14:18:59 +0100 |
commit | df611725edaea3f1cd7c97c426e1528e6086b20e (patch) | |
tree | 259193a3279c5f48929d7d55f8116ab65383775c | |
parent | 01a6e79812273103af7a0979b8e07b44bdcbd7e4 (diff) |
changed pkill command to include vmd:
-rwxr-xr-x | deploy.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -26,6 +26,7 @@ # 2020/05/22 changed: set the hosts password for the users # 2020/05/24 changed: add staggered option to vm.conf, leave disable for now # 2020/09/20 changed: add agentx option to vm.conf for OpenBSD 6.8 +# 2020/10/25 changes: doas.conf for pkill option, so it works again # use 5.024; use strict; @@ -230,7 +231,7 @@ sub render_doas_conf { for my $vm_name (sort keys %vms) { my $_instance = $vms{$vm_name}{'instance'} || $vm_name; my $_owner = $vms{$vm_name}{'owner'} || $vms{$vm_name}{'username'}; - printf $fh_doas "permit nopass %s as root cmd pkill args -9 -xf %s\n", $_owner, $_instance; + printf $fh_doas "permit nopass %s as root cmd pkill args -9 -xf \"vmd: %s\"\n", $_owner, $_instance; } close $fh_doas; } |