The defaults system provides a three-tier configuration hierarchy that allows you to save and reuse installation settings across container deployments. This eliminates repetitive configuration and ensures consistency across your infrastructure.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/community-scripts/ProxmoxVE/llms.txt
Use this file to discover all available pages before exploring further.
Understanding the System
Three-Tier Configuration Hierarchy
Settings are applied in the following priority order:Environment Variables (Highest Priority)
Variables set in your shell environment before running a script
Installation Modes
When you run any installation script, you’ll be presented with several options:Default Settings
Quick installation using built-in defaults with no configuration prompts.Best For
First-time users and quick deployments where default settings are acceptable
Advanced Settings
Full customization with 19 configuration steps covering every aspect of the container. Available Settings:- CPU cores, RAM amount, disk size
- Container name and network configuration
- SSH access, API access, features
- Password, SSH keys, tags
- Security options
After completing advanced setup, you’ll be prompted to save these settings as App Defaults for future deployments
User Defaults
Use your saved global defaults that apply to all container installations.App Defaults
Use previously saved application-specific defaults for identical deployments.Saving Defaults
During Installation
The easiest way to create defaults:Manual File Creation
For advanced users who want to create defaults without running installation:- User Defaults
- App Defaults
Managing Defaults
View Settings
Edit Settings
Update Existing Defaults
Re-run the installation with Advanced Settings:Delete Defaults
Example Configurations
High-Performance Gaming Server
Development Environment
Low-Resource IoT Container
Troubleshooting
App Defaults not available
App Defaults not available
You haven’t created App Defaults yet for this application.Solution:
- Run the app with “Advanced Settings”
- Configure your preferences
- When finished, save as App Defaults
- Next time, App Defaults will be available
Settings not being applied
Settings not being applied
Check the following:
Cannot write to defaults location
Cannot write to defaults location
Permission denied when saving defaults.Solution:
File Format
Defaults files use a simple
key=value format with specific syntax rulesBest Practices
Do
- Use App Defaults for app-specific settings
- Use User Defaults for global preferences
- Edit defaults files directly with nano
- Keep separate App Defaults for each app
- Back up your defaults regularly
- Use environment variables for temporary overrides
Don't
- Don’t use
sourceon defaults files (security risk) - Don’t put sensitive passwords in defaults
- Don’t modify defaults during installation
- Don’t delete defaults directory while creating containers
- Don’t use special characters without escaping
Related Resources
Environment Variables
Complete list of available configuration variables
Unattended Deployment
Automate deployments with defaults and environment variables