Feature #12973
closed
Playback script to perform a configuration upgrade on an arbitrary ``config.xml`` file
Added by Chris Linstruth over 2 years ago.
Updated over 2 years ago.
Category:
Configuration Upgrade
Plus Target Version:
22.05
Description
In the spirit of this feature:
pfSsh.php playback cryptconfig decrypt /root/enctest/test.xml /root/enctest/out.xml
It would be handy to have something similar to run a config.xml file through the configuration update code. Perhaps something like this:
pfSsh.php playback updateconfig /root/oldconfig.xml /root/newconfig.xml
Thank you.
- Status changed from New to Feedback
- Target version set to 2.7.0
- % Done changed from 0 to 100
- Plus Target Version set to 22.05
- Status changed from Feedback to Resolved
Tested on 22.05.a.20220327.0600
with a config from pfSense 2.2 (config version 11.6). The file was upgraded correctly.
- Subject changed from Add ability to update a config.xml file using a playback script to Playback script to perform a configuration upgrade on an arbitrary ``config.xml`` file
Updating subject for release notes.
Just noting for anyone looking, the script is named upgradeconfig
not updateconfig
as in Chris' OP.
Also available in: Atom
PDF