Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
R
routeros-scripts
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Christian Hesse
routeros-scripts
Commits
65c76b84
Commit
65c76b84
authored
Jul 08, 2019
by
Christian Hesse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
capsman-rolling-upgrade: log with info, give identity
parent
43d77cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
capsman-rolling-upgrade
capsman-rolling-upgrade
+3
-2
No files found.
capsman-rolling-upgrade
View file @
65c76b84
...
...
@@ -12,8 +12,9 @@
:local Delay (600 / $RemoteCapCount);
:if ($Delay > 120) do={ :set Delay 120; }
:foreach RemoteCap in=[ / caps-man remote-cap find where version!=$InstalledVersion ] do={
:local RemoteCapName [ / caps-man remote-cap get $RemoteCap name ];
:log debug ("Starting upgrade for CAP " . $RemoteCapName . "...");
:local RemoteCapVal [ / caps-man remote-cap get $RemoteCap ];
:log info ("Starting upgrade for " . $RemoteCapVal->"name" . \
" (" . $RemoteCapVal->"identity" . ")...");
/ caps-man remote-cap upgrade $RemoteCap;
:delay ($Delay . "s");
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment