pfsense-automator
pfsense-automator copied to clipboard
General setup functions
I have received a request to add general pfSense setup functions. We should add functions to accomplish the following:
Function to configure System > General Setup Function to configure System > Advanced Function to configure System > Advanced > System Tunables Function to configure Interfaces > Assignments
These should cover the basics on a base configuration.
--read-tunables
and --add-tunable
added in commit 246e9e373d1947aadf95685fa53521d341cb649c
. This will satisfy current requirements for System Tunables
--read-adv-admin
added in commit 7a885766d96a99f2203cc5b1a62f4e1f927839ca
. This will satisfy requirements for base advanced settings
--setup-ssh
added in commit efbc200ccffdd175a46cdcfeb6d55ce3965c30d1
. This will allow sshd to be configure via the command line. Will be included in v0.0.3
--setup-console
added in commit 81ec50427282d523d2d0df0a1159a0ddb2e6d1af
. This allows us to set console options.
--setup-wc
and --setup-wc-port
added in commit d5d426597f765fa5722c83c8ba5caef40fa9c680
. These will allow us to reliable configure the webConfigurator
--read-general-setup
and --set-system-hostname
added in commit d7179c5377933a3d61902d00f89fe2f70c6fd1f7
. This will allow us to read the General Setup configuration from /system.php and change the system hostname from the command line.
--read-interfaces
added in commit 4ef2b34e39ac7f4a909518565d9eb258436a18c9
. This will allow us to print interface configurations to the command line or export them as JSON