diff options
author | Alyssa Ross <hi@alyssa.is> | 2022-10-10 23:28:44 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-26 19:12:32 +0000 |
commit | 75b797d934867b0c10b0481bd8719a1b50239bb0 (patch) | |
tree | 26ed1a7b7c216b97cb0930943eb1d5808a31c5fe /Documentation | |
parent | 62d05c9a2d5fdad8f18a12cea42d215c1c9f269a (diff) | |
download | spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar.gz spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar.bz2 spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar.lz spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar.xz spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.tar.zst spectrum-75b797d934867b0c10b0481bd8719a1b50239bb0.zip |
Documentation: explain VM shared directories
Signed-off-by: Alyssa Ross <hi@alyssa.is> Message-Id: <20221010232909.1953738-5-hi@alyssa.is>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/_sass/custom/custom.scss | 22 | ||||
-rw-r--r-- | Documentation/using-spectrum/creating-vms.adoc | 9 |
2 files changed, 31 insertions, 0 deletions
diff --git a/Documentation/_sass/custom/custom.scss b/Documentation/_sass/custom/custom.scss new file mode 100644 index 0000000..eb50c81 --- /dev/null +++ b/Documentation/_sass/custom/custom.scss @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: 2022 Alyssa Ross <hi@alyssa.is> +// SPDX-License-Identifier: MIT + +.main-content { + // Just the Docs puts titles next to definitions, rather than on + // the line before. This makes the definitions too horizontally + // compressed. + dl { + display: block; + } + dt { + text-align: left; + font-weight: bold; + + &::after { + content: none; + } + } + dd { + margin-left: 2ch; + } +} diff --git a/Documentation/using-spectrum/creating-vms.adoc b/Documentation/using-spectrum/creating-vms.adoc index 02cd3e6..f7560f0 100644 --- a/Documentation/using-spectrum/creating-vms.adoc +++ b/Documentation/using-spectrum/creating-vms.adoc @@ -20,6 +20,15 @@ blk:: A directory containing disk images (with file names ending in ".img") that will be provided to the guest as a virtio-blk device. Order is not guaranteed. At least one image is *required*. +shared-dirs:: A directory whose *subdirectories* each describe a +directory to be shared with a VM. The name of each subdirectory is +used as the virtiofs tag, and the contents are as follows: + + dir::: A symbolic link pointing to the directory to be shared with + the VM. The directory must be on the + xref:../development/user-partition.adoc[user data partition]. + *Required.* + providers/net:: A directory containing a file named for each VM that should provide networking to this VM. The contents of these files are ignored. |