First enter the management mode, switch to the network net folder, and then use the vim.tiny editor to change the interfaces configuration
Note that the address must be under the same subnet as this machine! Then restart the network and ping each other
This is the end of this article, because of work requirements, I also need to connect VScode to the virtual machine
Modify the config file in VS