Set Keepalived script_user to root

Otherwise, Keepalived tries to execute its scripts as
`keepalived_script`, which doesn't exist, so none of the scripts get
executed at all. On top of that, some of the scripts require root
privileges, so `script_user` needs to be set to `root`.

Change-Id: Ia5cc0154cf520132d133679b64fc5f5c698dce85
Closes-Bug: 1806004
This commit is contained in:
Benoît Knecht 2018-11-30 10:36:05 +01:00
parent 89b5b43883
commit d6ca5af79e
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ keepalived_sync_groups:
keepalived_global_defs:
- "enable_script_security"
- script_user root
keepalived_scripts:
haproxy_check_script: