-
Notifications
You must be signed in to change notification settings - Fork 9
Add Docker Appliance Wizard #98
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
Add Docker Appliance Wizard #98
Conversation
This PR adds an interactive wizard and generator script for creating Docker-based OpenNebula appliances automatically. Features: - Interactive wizard with arrow-key navigation for easy configuration - Support for 12 base operating systems: - Ubuntu 20.04, 22.04, 24.04 - Debian 11, 12 - AlmaLinux 8, 9 - Rocky Linux 8, 9 - openSUSE Leap 15, 15.5, 15.6 - Automatic network configuration type detection per OS - Generates complete Packer build configuration - Generates appliance definition files - Supports Docker containers with configurable: - Port mappings - Environment variables - Volume mounts - SSH and VNC console access configuration - Auto-login console support Usage: ./appliance-wizard.sh # Interactive mode ./generate-docker-appliance.sh myapp.env # Generate from config
- Add ASCII art logo for 'One Appliance Wizard' - Add styled title box with version info (v1.0.0 'Nebula') - Add feature highlights section - Improve step display with progress bar and icons - Improve menu selector with box design - Improve input prompts with styled formatting - Add success banner with ASCII art - Improve navigation hints styling - Add thank you message with community attribution
- Replace illegible ASCII art with clean OpenNebula FIGlet logo - Simplify header to just logo + version + tagline - Remove verbose UI boxes and decorations - Simplify step display to clean [n/n] format - Simplify menu selector (no box borders) - Simplify prompts and messages - Reduce visual clutter throughout
- Check if base OS image exists before generating appliance - Alert user if image is missing with clear message - Offer 3 options: build now, continue anyway, or go back to OS selection - Show estimated build time and helpful commands
- Add Prowler appliance based on prowlercloud/prowler:latest-amd64 - Uses Ubuntu 24.04 as base OS with Docker - Includes Packer configuration with 16GB disk size - Add Prowler logo for marketplace display - Cloud security platform for AWS, Azure, GCP, Kubernetes compliance scanning
- Fix generate-docker-appliance.sh to handle empty env vars without trailing spaces - Fix prowlercloud context.yaml trailing space on CONTAINER_ENV line
|
Supported OS: Ubuntu 20.04, 22.04, 24.04; Debian 11, 12; AlmaLinux 8, 9; Rocky Linux 8, 9; openSUSE Leap 15. And in my opinion, better to delete from the wizard not minimal Ubuntus. |
|
I tested wizard on 2 containers:
Both of them failed on Alma*, Rocky* and Debian 12. While Alma/Rocky is pretty obvious Debian12 has quite strange behavior related to DNS (both containers build failed). Log is attached. |
|
And in general.
|
This PR adds an interactive wizard and generator script for creating Docker-based OpenNebula appliances automatically.
Features:
Usage:
./appliance-wizard.sh # Interactive mode
./generate-docker-appliance.sh myapp.env # Generate from config
Closed: Superseded by #107 which contains the latest version with ARM64 support and improvements.