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
|
cat >/tmp/nova <<EOF
|
||||||
[keystone_*]
|
[keystone_*]
|
||||||
user stack
|
user `whoami`
|
||||||
|
|
||||||
[nova_*]
|
[nova_*]
|
||||||
user stack
|
user `whoami`
|
||||||
EOF
|
EOF
|
||||||
sudo mv /tmp/nova /etc/munin/plugin-conf.d/nova
|
sudo mv /tmp/nova /etc/munin/plugin-conf.d/nova
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue