Edit a Virtual Machine

How to Edit a VM

After creating a virtual machine, you can edit your virtual machine by clicking the button and selecting the Edit Config button.

Edit a Virtual Machine - 图1note

In addition to editing the description, a restart of the virtual machine is required for configuration changes to take effect.

Basics

On the basics tab, you can config your requested CPU and memory, a VM restart is required for this configuration to take effect.

SSH Keys are injected into the cloud-init script when the virtual machine is first powered on. In order for the modified ssh key to take effect after the virtual machine is startup, the cloud-init script needs to be reinstalled from your guest OS.

edit-vm

Networks

You can add additional VLAN networks to your VM instances after booting, the management network is optional if you have the VLAN network configured.

Additional NICs are not enabled by default unless you configure them manually in the guest OS, e.g. using wicked for your OpenSUSE Server or netplan for your Ubuntu Server.

edit-vm

For more details about the network implementation, please refer to the Networking page.

Volumes

You can add additional volumes to the VM after booting. You can also expand the size of the volume after shutting down the VM, click the VM and go to the Volumes tab, edit the size of the expanded volume. After restarting the VM and waiting for the resize to complete, your disk will automatically finish expanding.

edit-vm

Access Credentials

Access Credentials allow you to inject basic auth or ssh keys dynamically at run time when your guest OS has QEMU guest agent installed.

For more details please check the page here: Dynamic SSH Key Injection via Qemu guest agent.