Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Restore configuration and install missing packages
« previous
next »
Print
Pages: [
1
]
Author
Topic: Restore configuration and install missing packages (Read 3478 times)
KoS
Newbie
Posts: 34
Karma: 2
Restore configuration and install missing packages
«
on:
May 02, 2020, 04:33:23 pm »
Hi
When I restore a configuration to a "vanilla" OPNsense box, what is the best way to install any missing packages?
I see that a feature for this is in progress (
https://forum.opnsense.org/index.php?topic=10068.15
and
https://github.com/opnsense/core/issues/1663
) but this seems to be planned for the future 20.7 release.
Kind regards
KoS
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Restore configuration and install missing packages
«
Reply #1 on:
May 03, 2020, 05:00:48 pm »
With the feature you can "automate" config.xml content, but only to the extend that you have to trigger their installation once. There's not much difference between running a script now vs. triggering a sync then.
Plugins can negatively impact the core setup, therefore providing automation and automatic installation of remote packages is a tricky thing to do because the box could break itself if not done right.
If said 20.7 feature works we can see if that would also be interesting for the GUI config restore functionality... import config, install missing plugins and reboot.
Would that be something of interest?
Cheers,
Franco
Logged
KoS
Newbie
Posts: 34
Karma: 2
Re: Restore configuration and install missing packages
«
Reply #2 on:
May 05, 2020, 11:58:39 am »
I think for me the currently planned feature would be sufficient: Deploy vanilla box, restore configuration, select the plugins marked "missing" in the UI for installation.
Whereas I think i will anyways go the way to have my prepared disk image (as all my boxes will be using the same plugins), which would already include the plugins needed, and just import the config.xml (as discussed in
https://forum.opnsense.org/index.php?topic=17058
).
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
20.1 Legacy Series
»
Restore configuration and install missing packages