From c54265ecf0b435f1a4d9bb1622d773dc50927f0e Mon Sep 17 00:00:00 2001 From: Aral Balkan Date: Mon, 7 Jan 2019 11:44:14 +0000 Subject: [PATCH] Add cloud-init usage example and link to blog post The readme currently does not provide an example of using cloud-init with multipass. This pull request fixes that and links to the blog post on the subject from the Ubuntu blog. --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 417bc83d95..60a73553d7 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,13 @@ multipass launch --name foo multipass exec foo lsb_release -a ``` +## Pass a cloud-init file to an instance +``` +multipass launch -n foo --cloud-init cloud-config.yaml +``` + +See [Using cloud-init with Multipass](https://blog.ubuntu.com/2018/04/02/using-cloud-init-with-multipass) on the Ubuntu blog for more details. + ## Find available images ``` multipass find