forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test-snapd-netplan-apply: add info command to the snap
The new version of Netplan also exposes an "Info" method, so add an app to the test netplan snap to access this (since the netplan binary won't by default use the Info method at all. Also tie the version of the snap to the version of the netplan part in the snapcraft using override-pull and some snapcrafters git magic. Signed-off-by: Ian Johnson <[email protected]>
- Loading branch information
1 parent
2fee56e
commit b4f9c05
Showing
2 changed files
with
27 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh -e | ||
|
||
busctl call --system io.netplan.Netplan /io/netplan/Netplan io.netplan.Netplan Info |
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