]> git.proxmox.com Git - qemu-server.git/commit - PVE/QemuServer.pm
fix #2190: Base64 encode SMBIOS value strings in order to allow more characters
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 11 Jun 2019 10:13:52 +0000 (12:13 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Jun 2019 11:04:34 +0000 (13:04 +0200)
commit1f30ac3a9f18c215d3e3c657f9e81d9d3125f46c
treeefa2b9e934f5f9fe5ba2f7b5af2b86c4579e71b1
parent5dcee818d20e08984808435d8a5504995a86045f
fix #2190: Base64 encode SMBIOS value strings in order to allow more characters

On some occasions e.g. license checking, the manufacturer string in the
SMBIOS settings edit has to allow characters such as whitespaces.
https://forum.proxmox.com/threads/proxmox-and-windows-rok-license-for-dell.53236/
In principle SMBIOS allows to pass any zero terminated string to the
corresponding fields in the structure type 1 (System Information).

By base64 encoding the values clashing of the config is avoided.

Relies on the corresponding patch to pve-manager to obtain base64 encoded values.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
PVE/QemuServer.pm