summaryrefslogtreecommitdiff
path: root/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml21
1 files changed, 21 insertions, 0 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
new file mode 100644
index 00000000..24e8e74d
--- /dev/null
+++ b/snapcraft.yaml
@@ -0,0 +1,21 @@
+name: cloud-init
+version: master
+summary: Init scripts for cloud instances
+description: |
+ Cloud instances need special scripts to run during initialisation to
+ retrieve and install ssh keys and to let the user run various scripts.
+
+grade: stable
+confinement: classic
+
+apps:
+ cloud-init:
+ # LP: #1669306
+ command: usr/bin/python3 $SNAP/bin/cloud-init
+ plugs: [network]
+
+parts:
+ cloud-init:
+ plugin: python
+ source-type: git
+ source: https://git.launchpad.net/cloud-init