Skip to content

CNV#62112: Shared disk example has elements that don't exist #96073

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions modules/virt-configuring-vm-disk-sharing.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// * virt/virtual_machines/virtual_disks/virt-configuring-shared-volumes-for-vms.adoc

:_content-type: PROCEDURE
[id="virt-configuring-vm-disk-sharing{context}"]
[id="virt-configuring-vm-disk-sharing_{context}"]
= Configuring disk sharing by using virtual machine disks

You can configure block volumes so that multiple virtual machines (VMs) can share storage.
Expand Down Expand Up @@ -47,18 +47,15 @@ spec:
bus: virtio
name: rootdisk
errorPolicy: report <1>
disk1: disk_one <2>
- disk:
bus: virtio
name: cloudinitdisk
disk2: disk_two
shareable: true <3>
shareable: true <2>
interfaces:
- masquerade: {}
name: default
----
<1> Identifies the error policy.
<2> Identifies a device as a disk.
<3> Identifies a shared disk.
<2> Identifies a shared disk.

. Save the `VirtualMachine` manifest file to apply your changes.