Refactor cleanup steps to use cleanup_lxc function (#9354)

This commit is contained in:
CanbiZ
2025-11-22 17:27:13 +01:00
committed by GitHub
parent 89198b0601
commit afe330173e
307 changed files with 522 additions and 1971 deletions

View File

@@ -34,6 +34,7 @@ msg_ok "Downloaded EMQX"
msg_info "Installing EMQX"
$STD apt-get install -y "$DEB_FILE"
rm -f "$DEB_FILE"
echo "$LATEST_VERSION" >~/.emqx
msg_ok "Installed EMQX"
@@ -43,9 +44,5 @@ msg_ok "Enabled EMQX service"
motd_ssh
customize
cleanup_lxc
msg_info "Cleaning up"
rm -f "$DEB_FILE"
$STD apt-get autoremove
$STD apt-get autoclean
msg_ok "Cleaned"