Automation deployment via ignition file
From version 3.3.0, users can setup automation deployment via ignition file
Overview
The ignition file is a configuration file that enables automated deployment and configuration of the Update Downloader system. It allows you to pre-configure settings, create admin users, add products, and set up post-installation actions without manual intervention through the web interface.
Location
- Windows:
C:\opswat\ometadownloader.conf - Linux:
/etc/opswat/ometadownloader.conf
File Format
The ignition file uses INI format with sections and key-value pairs. The file should be named appropriately and placed in the correct location where the system can detect it during startup.
Complete Example
eula=true[user]name=adminpassword=adminemail=admin@localapikey=user_apikey_36_characters[update_settings]interval=15packagelocation=C:/Program Files/OPSWAT/Metadefender Update Downloader/data/update_packagescleanup=4exclude=Monday-Friday 08:15-16:15exclude_1=Saturday 13:00-23:59exclude_2=Sunday 00:00-11:00[post_action]name=ps_pythoncommand=D:/post action/post.py[post_action_1]name=ps_binarycommand=D:/post action/post.exeproduct_name=MetaDefender Core Aproduct_name_1=MetaDefender Core B[product]name=MetaDefender Core Alicense=E:/opswat/Core_licenses/md_core_a_license_file.yml[product_1]name=MetaDefender Core Blicense=E:/opswat/Core_licenses/md_core_b_license_file.ymlDetails Configuration
EULA Acceptance - Required
The EULA (End User License Agreement) must be accepted for the ignition file to be processed:
eula=trueNote: This is a required field. The ignition file will not be processed if this is not set to true.
User Configuration - Optional
You can automatically create an admin user during deployment:
[user]name=adminpassword=adminemail=admin@localapikey=user_apikey_36_charactersUser Fields:
name: Username for the admin accountpassword: Password for the admin accountemail: Email address for the admin accountapikey: (Optional) API key for the user
Note: If you provide user information, all fields except apikey are required.
Update Settings Configuration - Optional
Configure automatic update settings for the Update Downloader:
[update_settings]interval=15packagelocation=C:/Program Files/OPSWAT/Metadefender Update Downloader/data/update_packagescleanup=4exclude=Monday-Friday 08:15-16:15exclude_1=Saturday 13:00-23:59exclude_2=Sunday 00:00-11:00Update Settings Fields - Optional
interval
Auto-update interval in minutes. Valid values:
0- Disabled15- 15 minutes30- 30 minutes60- 1 hour120- 2 hours240- 4 hours (default)360- 6 hours720- 12 hours1440- 24 hours
cleanup
Cleanup interval in hours. Valid values:
0- Disabled1- 1 hour4- 4 hours12- 12 hours24- 24 hours (default)168- 1 week672- 4 weeks
packagelocation
Directory path where update packages will be stored. The system will create this directory if it doesn't exist and verify write permissions.
exclude
Time periods when updates should be disabled. Format options:
- Single day:
Monday 08:00-17:00 - Day range:
Monday-Friday 08:00-17:00
Valid day ranges:
Monday-FridayFriday-SundaySunday-Thursday
You can specify multiple exclude periods using numbered suffixes (exclude_1, exclude_2, etc.). Maximum 100 excludes
Post-Action Configuration - Optional
Configure commands to run after product installation:
Users can add maximum 100 items for Post-Action, the first one should be post_action
If user want to add more Post-Action, using this pattern: "post_action_1" , "post_action _2", etc
[post_action]name=ps_pythoncommand=D:/post action/post.py[post_action_1]name=ps_binarycommand=D:/post action/post.exeproduct_name=MetaDefender Core Aproduct_name_1=MetaDefender Core BPost-Action Fields:
name: Action name (maximum 16 characters, must be unique)command: Command to executeproduct_name: Product name that triggers this action (can have multiple using numbered suffixes)- We can add multiple products to a Post-Action: product_name_1, product_name_2, etc. Maximum 100 products
Note: Actions are triggered when the associated products are installed.
Product Configuration - Optional
Add products with their licenses during deployment:
[product]name=MetaDefender Core Alicense=E:/opswat/Core_licenses/md_core_a_license_file.yml[product_1]name=MetaDefender Core Blicense=E:/opswat/Core_licenses/md_core_b_license_file.ymlProduct Fields:
name: Product name - must be unique between product fieldslicense: The absolute path to the license file
Note: Both fields are required for each product section.
Limitations
- Maximum 100 items for repeated sections (product, product_name, post-action, exclude)
- Post-action names limited to 16 characters
- Package location must be writable by the system
- License files must be accessible during processing
- Time exclusions must follow exact format specifications
