]> git.proxmox.com Git - qemu-server.git/commit
restore: write new config to variable first
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 8 Mar 2021 12:26:57 +0000 (13:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Mar 2021 16:10:49 +0000 (17:10 +0100)
commit98a4b3fbc4e28657d1979f5cfe46f358c2023eb3
tree60bf07270d11d611b85000fec0092df5622e31e4
parent46b676c0b127028d057f82c47b18df830fa26a49
restore: write new config to variable first

and use file_set_contents to really commit it afterwards. Mostly done as a
preparation for the later patch for sanitizing the config on restore, but
shouldn't hurt by itself either.

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