SonicOS 8 NSv Getting Started Guide for Proxmox

Editing the VM Configuration File

Config File Location:

/etc/pve/qemu-server/<vm-id>.conf

Using the CLI to Configure Files

To configure file from the CLI:

  1. Log in to the Proxmox web interface.
  2. Select the Proxmox node and open Shell.

    Ensure you are logged in as the root user.

  3. Use a text editor to open the VM configuration file.
    nano /etc/pve/qemu-server/<vm-id>.conf
  4. Add the required entries to the configuration file. Refer to Add the Following Context.
  5. Save the file and exit the editor.
  6. Restart the virtual machine.

Add the Following Context

args: -drive 'if=pflash,unit=0,format=raw,readonly=on,file=<pathto>/OVMF_CODE.sw.fd' -drive 'if=pflash,unit=1,format=raw,file=<pathto>OVMF_VARS.sw.fd'