Skip to content

Commit

Permalink
Use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 20, 2021
1 parent 4604e55 commit ac0d539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Setup routeros
run: |
apt-get install -y sshpass
sudo apt-get install sshpass -y
sshpass -p "" -o StrictHostChecking=no admin@127.0.0.1:2222 /certificate add name=root-cert common-name=MyRouter days-valid=3650 key-usage=key-cert-sign,crl-sign
sshpass -p "" -o StrictHostChecking=no admin@127.0.0.1:2222 /certificate sign root-cert
sshpass -p "" -o StrictHostChecking=no admin@127.0.0.1:2222 /certificate add name=https-cert common-name=MyRouter days-valid=3650
Expand Down

0 comments on commit ac0d539

Please sign in to comment.