Test: vagrant clixon-util upgrade, sudo -g not work 18.04

This commit is contained in:
Olof hagsand 2023-12-03 12:08:00 +01:00
parent 01fbf764e7
commit 5e84ad8008
3 changed files with 24 additions and 9 deletions

View file

@ -55,6 +55,16 @@ module example {
}
EOF
if [ $BE -ne 0 ]; then
# kill old backend (if any)
new "kill old backend"
sudo clixon_backend -zf $cfg
if [ $? -ne 0 ]; then
err
fi
fi
# Extra cmdline opts, first is overwritten, second appended
CMDOPTS='-o CLICON_MODULE_SET=42 -o CLICON_FEATURE="cmdline"'