修改文件中图片路径错误的问题

Signed-off-by: delong <1355836035@qq.com>
This commit is contained in:
delong 2023-03-21 06:38:40 +00:00 committed by Gitee
parent 8cc7db3542
commit fa2e1c042a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 10 additions and 10 deletions

View File

@ -72,16 +72,16 @@ To learn about NAT as an example.
Type `sudo virt-manager` in the terminal or click on `Virtual System Manager` in the start menu to open the virt-manager GUI.
![](../assets/KVM/virtmanager.png)
![](./assets/KVM/virtmanager.png)
Click "Edit" - "Connection Details" to enter the network configuration interface, and select the virtual network, where by default there is a default NAT network connection, the device name is virbr0, the network segment is 192.168.122.0/24.
![](../assets/KVM/net.png)
![](./assets/KVM/net.png)
You can click the plus sign below to create a new network connection, here we create a network connection named network, forward to select "any physical device" (will create a network card device virbr1), network segment for 192.168.100.0/24, set up DHCP, click Finish to configure successfully. The next step in the virtual machine installation process can be set to this network connection method.
![](../assets/KVM/addnet.png)
![](./assets/KVM/addnet.png)
### IV. Customer Virtual Machine Installation
@ -92,38 +92,38 @@ Virtual machine installation can be done through virt-manager graphical tool or
Open the virt-manager GUI by typing `sudo virt-manager` in the terminal or clicking on `Virtual System Manager` in the start menu.
![](../assets/KVM/virtmanager.png)
![](./assets/KVM/virtmanager.png)
1) Click "File" - "Create Virtual Machine", or click the Create Virtual Machine icon, then select the local installation media and click Forward.
>Note: If we have already copied a disk image of the virtual machine online or elsewhere with the system already installed, you can select "Import existing disk image".
![](../assets/KVM/addstep1.png)
![](./assets/KVM/addstep1.png)
2) Select the installation source (ISO) and virtual machine system format (such as red hat Linux 8 or something like that) and click forward
![](../assets/KVM/addstep2.png)
![](./assets/KVM/addstep2.png)
3) Enter the virtual machine memory, the number of cpu cores (can not be greater than the number of host cores), click forward
![](../assets/KVM/addstep3.png)
![](./assets/KVM/addstep3.png)
4) Select the disk image (virtual machine installation should also have a virtual disk, right), here we create a 40G disk, click forward
> Note: The default disk image path here is /var/lib/libirt/images/*.qcow2, while if we need to use an already created disk image or need to customize the storage location of the disk image, you can select "Select or create custom storage"
![](../assets/KVM/addstep4.png)
![](./assets/KVM/addstep4.png)
5) Enter the virtual machine instance name, select the network, and click Forward.
> If you don't know how to choose a network, you may want to brush up on your knowledge of several modes of virtual machine networking (NAT, bridge, only_host).
![](../assets/KVM/addstep5.png)
![](./assets/KVM/addstep5.png)
6) At this point, it is time to enter the installation of the virtual machine system
![](../assets/KVM/ossetup.png)
![](./assets/KVM/ossetup.png)
If you are prompted with the error "Error connecting to graphics console: Error opening Spice console, SpiceClientGtk missing", you can try the following command to solve it.