-
Notifications
You must be signed in to change notification settings - Fork 887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New tutorial #5871
base: main
Are you sure you want to change the base?
New tutorial #5871
Changes from 7 commits
af1673b
e1f0684
8ad3976
7d5d969
6dfa6cc
7551cd3
20c2628
79f6561
dd08cf7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
.. _launching: | ||
|
||
Launching instances with cloud-init | ||
*********************************** | ||
|
||
Due to differences across platforms, initializing and launching instances with | ||
cloud-init can vary. Here we present instructions for various platforms, or | ||
links to instructions where platforms have provided their preferred methods for | ||
using cloud-init. | ||
|
||
* :ref:`With WSL <launching>` | ||
|
||
In this guide you will use a cloud-init user data script to customize a WSL | ||
instance. | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
:hidden: | ||
|
||
WSL <wsl.rst> |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,47 +3,35 @@ | |
Tutorials | ||
********* | ||
|
||
This section contains step-by-step tutorials to help you get started with | ||
``cloud-init``. We hope our tutorials make as few assumptions as possible and | ||
are accessible to anyone with an interest in ``cloud-init``. They should be a | ||
great place to start learning about ``cloud-init``, how it works, and what it's | ||
capable of. | ||
Our step-by-step tutorials will help you learn about cloud-init and what it can | ||
do. | ||
|
||
----- | ||
New user tutorial | ||
================= | ||
|
||
Core tutorial | ||
============= | ||
If you are completely new to cloud-init and would like a more thorough | ||
introduction, we suggest starting with the | ||
:ref:`new user tutorial <tutorial_qemu>`. | ||
|
||
This tutorial, which we recommend if you are completely new to ``cloud-init``, | ||
uses the QEMU emulator to introduce you to all of the key concepts, tools, | ||
processes and operations that you will need to get started. | ||
This tutorial uses the QEMU emulator to introduce you to all of the key | ||
concepts, tools, processes and operations that you will need to use cloud-init | ||
successfully. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
Further tutorials | ||
================= | ||
|
||
qemu.rst | ||
This tutorial is recommended if you have some familiarity with cloud-init's key | ||
concepts already. It uses LXD containers to show more of cloud-init's | ||
capabilities. | ||
|
||
Quick-start tutorial | ||
==================== | ||
* :ref:`Part 1: quick deployment <tutorial_lxd>` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A part 1 without a part 2 feels odd. Were you planning to add more here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am yes, but it won't be part of this PR because it's still in the early draft stage. |
||
|
||
This tutorial is recommended if you have some familiarity with ``cloud-init`` | ||
or the concepts around it, and are looking to get started as quickly as | ||
possible. Here, you will use an LXD container to deploy a ``cloud-init`` | ||
user data script. | ||
Here we deploy a cloud-init user data script into a LXD container. It | ||
can also be used as a quick-start guide. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:hidden: | ||
|
||
qemu.rst | ||
lxd.rst | ||
|
||
WSL tutorial | ||
============ | ||
|
||
This tutorial is for learning to use ``cloud-init`` within a ``WSL`` | ||
environment. You will use a ``cloud-init`` user data script to customize a | ||
``WSL`` instance. | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
wsl.rst |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an index for different pages - each page describes how to launch cloud-init on a particular platform. Currently this only lists WSL, however we already have a single page which explains how to launch instances on various platforms: lxd, libvirt, multipass, and qemu. Given the overlap, I think that it would make sense to link from this page to each of those platforms - but we may want to split that page into individual ones to live next to wsl.rst.
@s-makin What do you think about that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would make sense. Do you want me to do that as part of this PR or as a separate one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As part of this PR, if you don't mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done :)