Commit 953c8e24 authored by Yannael Girerd's avatar Yannael Girerd

RHEL 8 qualification

Vmgars user must be deleted after script ug-master2instance is executed.
So, at job in five minutes!
parent 9beb3933
......@@ -317,7 +317,7 @@ function clean_up
pb " - rm -f /etc/sudoers.d/vmgars"
rm -f /etc/sudoers.d/vmgars
# To avoid a bug in VMWare API for a VM in Centos 7
if [[ "${os_id}" = "centos" || "${os_id}" = "ol" ]]; then
if [[ "${os_id}" = "centos" || "${os_id}" = "ol" || "${os_id}" = "rhel" ]]; then
pb " - at in 5min: userdel -rf vmgars"
at now + 5 minutes <<EOF
userdel -rf vmgars >/dev/null 2>&1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment