Auto-detect current user

This commit is contained in:
Dean Troyer 2011-09-14 10:20:57 -05:00
parent 0017c8f9d5
commit 925df4c295

View file

@ -177,10 +177,10 @@ sudo sed -i -e '/Allow from localhost/s/localhost.*$/all/' /etc/munin/apache.con
cat >/tmp/nova <<EOF
[keystone_*]
user stack
user `whoami`
[nova_*]
user stack
user `whoami`
EOF
sudo mv /tmp/nova /etc/munin/plugin-conf.d/nova