Auto-detect current user
This commit is contained in:
parent
0017c8f9d5
commit
925df4c295
1 changed files with 2 additions and 2 deletions
4
stack.sh
4
stack.sh
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue