Andreas Bießmann
9d6d96adf3
deploy/routeros.sh: fix routeros script
Commit c46ceb06b4
introduced an error in
routeros script.
Fix it!
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
3 years ago
Andreas Bießmann
c46ceb06b4
deploy/routeros.sh: change DEPLOY_SCRIPT_CMD
This set the owner of script to ssh user, have the comment line in script
as real comment and removes policy since this is set from current user,
at least for RouterOS 7.x.
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
3 years ago
Andreas Bießmann
92e4ecce3b
deploy/routeros.sh: remove all certificates
As the script is applying the fullchain which includes three certificates,
delete all of them before applying updated certificate.
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
3 years ago
Andreas Bießmann
8a2f673903
deploy/routeros.sh: make ssh/scp configurable
In order to modify ssh/scp commands make them configurable via
environment variables.
Signed-off-by: Andreas Bießmann <andreas@biessmann.org>
3 years ago
Mac_Zhou
205e95a246
Add environment variables ROUTER_OS_PORT
3 years ago
Ross Shen
df671a77f6
routeros deploy hook: store the env vars within the domainconf
related to #2344 and #2413
3 years ago
Ross Shen
edee7ea284
routeros deploy hook: store the env vars within the domainconf
related to #2344 and #2413
3 years ago
Charlie Garrison
b23e05dbc5
Added trailing slash to end of each line of DEPLOY_SCRIPT_CMD
5 years ago
Peter Dave Hello
ac9f6e3a41
Remove trailing spaces in text files
This issue in the shell scripts will also be detected in the stable
version of shfmt(we are currently using an ancient pre-release of shfmt)
5 years ago
Charlie Garrison
c42dbbfec8
reformatted RouterOS script for shfmt checks
6 years ago
Charlie Garrison
03a407d4df
Added additional `shellcheck` ignores for client-side evaluation warning
Should pass CI tests now
6 years ago
Charlie Garrison
0cddc8a154
change to routeros native script rather than bash multiline commands
6 years ago
Pål Håland
86fbb5952e
Use env sh
6 years ago
Pål Håland
8d38cf4d1f
Use allchain instead of ca an cert, add documentation after review
7 years ago
Pål Håland
d698c1093a
remove spaces around assignment
7 years ago
Pål Håland
e629985cf4
Use _cdomain if ROUTER_OS_HOST is missing
7 years ago
Pål Håland
8a604bd2a1
Fixing syntax for schell script checking
8 years ago
Pål Håland
b8a8e2280d
Added deploy script to deploy to the routeros system
8 years ago