-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add usg::config-refresh to automate one of the USG - UniFi steps.
It seems like there are quite a few transient diffs that crop up immediately after a force provision. Vyatta gives us a way to automate updating the config. https://docs.vyos.io/en/latest/automation/command-scripting.html
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/vbash | ||
# https://docs.vyos.io/en/latest/automation/command-scripting.html | ||
|
||
source /opt/vyatta/etc/functions/script-template | ||
|
||
configure | ||
commit | ||
save | ||
exit |