-
-
Notifications
You must be signed in to change notification settings - Fork 47
Openssh-server container - keep image on remove, remove on purge #698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe OpenSSH server module script was modified to change the default mount point from Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
Disabled knowledge base sources:
- Jira integration is disabled by default for public repositories
You can enable these sources in your CodeRabbit configuration.
📒 Files selected for processing (1)
tools/modules/system/module_sshserver.sh(2 hunks)
🔇 Additional comments (2)
tools/modules/system/module_sshserver.sh (2)
36-36: Default mount point updated as intended.The default folder has been changed to
${SOFTWARE_FOLDER}/swag/config/wwwaligning with the PR objective for folder and branding updates.
75-82: Cleanup logic refactored per PR objective: image removal moved to purge only.The removal flow now correctly:
- Remove command (lines 75-77): Removes container only, leaves image intact (for quick reinstall).
- Purge command (lines 78-82): Removes container first, then the image if it exists.
This aligns with the stated PR objective of "keep image on remove, remove on purge."
…nge default folder, branding
fc5bd90 to
97a1287
Compare
Description
Change default folder, branding
Testing Procedure
Manual tests.
Checklist