From 5518678e935105caa14def52bb4cf7d3262c7ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Kolsj=C3=B6?= Date: Wed, 4 Dec 2024 12:13:07 +0100 Subject: [PATCH] Add cloud init setup instructions --- app/views/cloud_inits/index.html.slim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/cloud_inits/index.html.slim b/app/views/cloud_inits/index.html.slim index bdd96b0..6345efe 100644 --- a/app/views/cloud_inits/index.html.slim +++ b/app/views/cloud_inits/index.html.slim @@ -8,5 +8,9 @@ h1 Cloud-inits = link_to "Edit", edit_cloud_init_path(cloud_init) .status h1 = cloud_init.name + p How to use: + pre = "#include\n" + api_cloud_init_url(name: cloud_init.name, token: App.api_token) + + p Contents: pre = cloud_init.data p = link_to "New cloud-init", new_cloud_init_path