subiquity/examples/snaps
Michael Hudson-Doyle c7fd905c6b allow system definition to be in live layer
Rather than always assuming it has to be mounted in from the layer to be
installed (snapd will now populate the seed in the target system when
its install API is called if it is empty).
2024-05-07 11:07:07 +02:00
..
v2-changes-5 call into snapd to finish the installation of a core boot classic system 2022-11-10 11:48:37 +13:00
v2-changes-6 call into snapd to set up encryption when required 2022-11-11 14:46:44 +13:00
v2-changes-7 add snapdconnection.post and fake data captured from a real refresh 2019-03-12 11:49:03 +13:00
v2-changes-8 snap switch subiquity to stable/ubuntu-XX.YY.Z 2019-03-29 15:07:11 +13:00
v2-changes-15 add sample data which will fail at the finish-install step 2022-11-10 11:48:37 +13:00
README.md Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=aws-cli.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=canonical-livepatch.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=conjure-up.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=docker.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=doctl.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=etcd.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=google-cloud-sdk.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=heroku.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=juju.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=kata-containers.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=keepalived.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=microk8s.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=minidlna-escoand.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=mosquitto.json snaplist: add visual indication for starred publishers 2022-05-04 10:32:32 +02:00
v2-find-name=nextcloud.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=postgresql10.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=powershell.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=prometheus.json snaplist: add visual indication for starred publishers 2022-05-04 10:32:32 +02:00
v2-find-name=rocketchat-server.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=sabnzbd.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=slcli.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=stress-ng.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=wekan.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-name=wormhole.json Make the code for talking to snapd more generic 2019-03-04 16:18:57 +13:00
v2-find-section=server.json snaplist: add visual indication for starred publishers 2022-05-04 10:32:32 +02:00
v2-find-select=refresh.json hack snap version numbers in sample data to be more realistic 2019-04-09 23:13:37 +12:00
v2-snaps-subiquity.json hack snap version numbers in sample data to be more realistic 2019-04-09 23:13:37 +12:00
v2-systems-defective.json tidy sample data slightly 2022-11-10 11:47:29 +13:00
v2-systems-enhanced-secureboot-desktop.json examples: improve enhanced-secureboot 2023-05-15 16:50:27 -06:00
v2-systems-finish-fail.json add sample data which will fail at the finish-install step 2022-11-10 11:48:37 +13:00
v2-systems-mandatory.json tidy sample data slightly 2022-11-10 11:47:29 +13:00
v2-systems-prefer-encrypted.json tidy sample data slightly 2022-11-10 11:47:29 +13:00
v2-systems-prefer-unencrypted.json tidy sample data slightly 2022-11-10 11:47:29 +13:00
v2-systems-unavailable.json add some more sample data 2022-11-01 14:39:23 +01:00
v2-systems.json allow system definition to be in live layer 2024-05-07 11:07:07 +02:00

README.md

Sample snap data

This directory contains canned responses from snapd's REST API that are used by default in dry-run mode. (You can pass --no-snaps-from-examples flag to talk to your local snapd instead). It was generated something like this:

$ curl --silent --unix-socket /var/run/snapd.socket a/v2/find?section=server | jq . > v2-find-section=server.json
$ for x in $(cat v2-find-section=server.json | jq -r '.result  | .[].name'); do curl --silent --unix-socket /var/run/snapd.socket a/v2/find?name=$x | jq . > v2-find-name=$x.json; done