Skip to content

Commit

Permalink
doc: add missing semi-colon to nocloud cmdline docs (#4120)
Browse files Browse the repository at this point in the history
Co-authored-by: s-makin <sally.makin@canonical.com>
  • Loading branch information
blackboxsw and s-makin authored May 24, 2023
1 parent d48530e commit dd24c21
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doc/rtd/reference/datasources/nocloud.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ where on the filesystem to look.
Alternatively, one can provide metadata via the kernel command line or SMBIOS
"serial number" option. This argument might look like: ::

ds=nocloud s=file://path/to/directory/;h=node-42
ds=nocloud;s=file://path/to/directory/;h=node-42

Method 3: Custom webserver: kernel commandline or SMBIOS
--------------------------------------------------------
Expand All @@ -39,7 +39,10 @@ In a similar fashion, configuration files can be provided to cloud-init using a
custom webserver at a URL dictated by kernel commandline arguments or SMBIOS
serial number. This argument might look like: ::

ds=nocloud s=http://10.42.42.42/cloud-init/configs/
ds=nocloud-net;s=http://10.42.42.42/cloud-init/configs/

.. note::
When supplementing kernel parameters in GRUB's boot menu take care to single-quote this full value to avoid GRUB interpreting the semi-colon as a reserved word. See: `GRUB quoting`_

Permitted keys
==============
Expand Down Expand Up @@ -256,3 +259,4 @@ Example config
.. _iso9660: https://en.wikipedia.org/wiki/ISO_9660
.. _vfat: https://en.wikipedia.org/wiki/File_Allocation_Table
.. _GRUB quoting: https://www.gnu.org/software/grub/manual/grub/grub.html#Quoting

0 comments on commit dd24c21

Please sign in to comment.