Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    New script to replace default config on nanobsd images

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    1 Posts 1 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jf
      last edited by

      I wrote a new script for nanobsd images to replace the config.xml with your own configuration. The old one http://forum.pfsense.org/index.php/topic,1998.0.html doesn't work anymore.

      With the variable REPLACE_DEFAULT=1 you can also replace the default pfsense config which is activated on reset. Setting SUFFIX appends a suffix to the image.

      Example ./replace_conf.sh myconfig.xml pfSense.img.gz

      Any feedback welcome.

      replace_config.sh.txt

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.