Project

General

Profile

Actions

Feature #12973

closed
CL JP

Playback script to perform a configuration upgrade on an arbitrary ``config.xml`` file

Feature #12973: Playback script to perform a configuration upgrade on an arbitrary ``config.xml`` file

Added by Chris Linstruth over 4 years ago. Updated about 4 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.

JP Updated by Jim Pingle over 4 years ago Actions #1

  • 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

MM Updated by Marcos M over 4 years ago Actions #2

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

JP Updated by Jim Pingle over 4 years ago Actions #3

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

→L Updated by → luckman212 about 4 years ago Actions #4

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

Actions

Also available in: Atom