doc: escape asterisks in markdown

Vim seems lost and breaks syntax highlighting when it is dealing with
unescaped asterisks in the markdown content. Let's escape the asterisks
to make it happy.

Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
This commit is contained in:
Olivier Gayot 2022-10-20 14:32:13 +02:00
parent 75e727af4f
commit ba40c4c6eb
2 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ A list of config keys to still show in the UI. So for example:
Would stop on the network screen and allow the user to change the defaults. If a value is provided for an interactive section it is used as the default. Would stop on the network screen and allow the user to change the defaults. If a value is provided for an interactive section it is used as the default.
You can use the special section name of "*" to indicate that the installer should ask all the usual questions -- in this case, the `autoinstall.yaml` file is not really an "autoinstall" file at all, instead just a way to change the defaults in the UI. You can use the special section name of "\*" to indicate that the installer should ask all the usual questions -- in this case, the `autoinstall.yaml` file is not really an "autoinstall" file at all, instead just a way to change the defaults in the UI.
Not all config keys correspond to screens in the UI. This documentation indicates if a given section can be interactive or not. Not all config keys correspond to screens in the UI. This documentation indicates if a given section can be interactive or not.
@ -137,10 +137,10 @@ The version of subiquity released with 20.04 GA does not accept `null` for this
### network ### network
**type:** netplan-format mapping, see below **type:** netplan-format mapping, see below
**default:** DHCP on interfaces named eth* or en* **default:** DHCP on interfaces named eth\* or en\*
**can be interactive:** yes **can be interactive:** yes
[netplan](https://netplan.io/reference) formatted network configuration. This will be applied during installation as well as in the installed system. The default is to interpret the config for the install media, which runs DHCPv4 on any interface with a name matching "eth*" or "en*" but then disables any interface that does not receive an address. [netplan](https://netplan.io/reference) formatted network configuration. This will be applied during installation as well as in the installed system. The default is to interpret the config for the install media, which runs DHCPv4 on any interface with a name matching "eth\*" or "en\*" but then disables any interface that does not receive an address.
For example, to run dhcp6 on a particular NIC: For example, to run dhcp6 on a particular NIC:

View File

@ -120,7 +120,7 @@ Here is an example file that shows off most features:
<a href="autoinstall-reference.md#user-data">user-data</a>: <a href="autoinstall-reference.md#user-data">user-data</a>:
disable_root: false disable_root: false
<a href="autoinstall-reference.md#late-commands">late-commands</a>: <a href="autoinstall-reference.md#late-commands">late-commands</a>:
- sed -ie 's/GRUB_TIMEOUT=.*/GRUB_TIMEOUT=30/' /target/etc/default/grub - sed -ie 's/GRUB_TIMEOUT=.\*/GRUB_TIMEOUT=30/' /target/etc/default/grub
<a href="autoinstall-reference.md#error-commands">error-commands</a>: <a href="autoinstall-reference.md#error-commands">error-commands</a>:
- tar c /var/log/installer | nc 192.168.0.1 1000 - tar c /var/log/installer | nc 192.168.0.1 1000
</code></pre> </code></pre>