[feat] Remove so-setup permission from sudoers file after iso setup

Closes #1701
This commit is contained in:
William Wernert
2020-11-17 15:36:25 -05:00
parent d13733e716
commit b146700303
2 changed files with 11 additions and 0 deletions

View File

@@ -1019,6 +1019,10 @@ install_cleanup() {
# If Mysql is running stop it
/usr/sbin/so-mysql-stop
if [[ $install_type == 'iso' ]]; then
info "Removing so-setup permission entry from sudoers file"
sed -i '/so-setup/d' /etc/sudoers
fi
}
import_registry_docker() {