You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`Libguestfs` tools help you access and modify virtual machine (VM) disk images. You can use `libguestfs` tools to view and edit files in a guest, clone and build virtual machines, and format and resize disks.
= Deploying a libguestfs-tools container by using virtctl
8
8
9
9
You can use the `virtctl guestfs` command to deploy an interactive container with `libguestfs-tools` and a persistent volume claim (PVC) attached to it.
|Specify a port number to run the proxy on the specified port, if that port is available.
91
128
92
129
If a port number is not specified, the proxy runs on a random port.
93
130
|===
94
131
95
132
[id='vm-volume-export-commands_{context}']
96
-
== VM volume export commands
133
+
== VM export commands
97
134
98
-
You can use `virtctl vmexport` commands to create, download, or delete a volume exported from a VM, VM snapshot, or persistent volume claim (PVC).
135
+
You use `virtctl vmexport` commands to create, download, or delete a volume exported from a VM, VM snapshot, or persistent volume claim (PVC).
99
136
100
-
.`virtctl vmexport` commands
137
+
.VM export commands
101
138
[width="100%",cols="1a,2a",options="header"]
102
139
|===
103
140
|Command |Description
@@ -130,7 +167,7 @@ Optional:
130
167
[id='vm-memory-dump-commands_{context}']
131
168
== VM memory dump commands
132
169
133
-
You can use the `virtctl memory-dump` command to output a virtual machine (VM) memory dump on a PVC. You can specify an existing PVC or use the `--create-claim` flag to create a new PVC.
170
+
You can use the `virtctl memory-dump` command to output a VM memory dump on a PVC. You can specify an existing PVC or use the `--create-claim` flag to create a new PVC.
@@ -185,37 +222,41 @@ You must remove a memory dump manually if you want to change the target PVC.
185
222
This command removes the association between the VM and the PVC, so that the memory dump is not displayed in the `status` section of the `VirtualMachine` resource. The PVC is not affected.
186
223
|===
187
224
188
-
[id='image-upload-commands_{context}']
189
-
== Image upload commands
225
+
// hot-plug/unplug NICs will be added in 4.14
226
+
[id="hot-plug-and-hot-unplug-commands_{context}"]
227
+
== Hot plug and hot unplug commands
190
228
191
-
You can use the `virtctl image-upload` commands to upload a VM image to a data volume.
229
+
You use `virtctl` to add or remove resources from running VMs and VMIs.
192
230
193
-
.`virtctl image-upload` commands
231
+
.Hot plug and hot-unplug commands
194
232
[width="100%",cols="1a,2a",options="header"]
195
233
|===
196
234
|Command |Description
197
-
|`virtctl image-upload dv <datavolume_name> --image-path=</path/to/image> --no-create`
198
-
|Upload a VM image to a data volume that already exists.
Copy file name to clipboardExpand all lines: virt/virt-getting-started.adoc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Plan and install {VirtProductName} on an {product-title} cluster:
21
21
* xref:../installing/installing_bare_metal/preparing-to-install-on-bare-metal.adoc#virt-planning-bare-metal-cluster-for-ocp-virt_preparing-to-install-on-bare-metal[Plan your bare metal cluster for {VirtProductName}].
22
22
* xref:../virt/install/preparing-cluster-for-virt.adoc#preparing-cluster-for-virt[Prepare your cluster for {VirtProductName}].
23
23
* xref:../virt/install/installing-virt-web.adoc#virt-installing-virt-operator_installing-virt-web[Install the {VirtProductName} Operator].
24
-
* xref:../virt/install/virt-installing-virtctl.adoc#virt-installing-virtctl[Install the `virtctl` command line interface (CLI) tool].
24
+
* xref:../virt/virt-using-the-cli-tools.adoc#installing-virtctl_virt-using-the-cli-tools[Install the `virtctl` command line interface (CLI) tool].
0 commit comments