Project

General

Profile

Actions

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.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Configuration Upgrade
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default

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.

Actions #1

Updated by Jim Pingle over 2 years ago

  • 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
Actions #2

Updated by Marcos M over 2 years ago

  • 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.

Actions #3

Updated by Jim Pingle over 2 years ago

  • 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.

Actions #4

Updated by → luckman212 over 2 years ago

Just noting for anyone looking, the script is named upgradeconfig not updateconfig as in Chris' OP.

Actions

Also available in: Atom PDF