Add support for multiple trigger keys
Bug #1972916 reported by
Haw Loeung
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Mirror Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
For triggers, such as mirror_
| from="10.1.2.3" ssh-rsa ...
| from="192.168.1.1" ssh-ed25519 ...
The generated SSH authorized_key becomes:
| no-port-
| from="192.168.1.1" ssh-ed25519 ...
With the second line, it should contain the no-* configs as well as the SSH command.
To post a comment you must log in.
This is likely https:/ /git.launchpad. net/ubuntu- mirror- charm/tree/ hooks/hooks. py#n816
Ideally, we want to split on line break and prefix the SSH_TRIGGER_ TEMPLATE to each.