all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup] file-restore: fix -blockdev regression with namespaces or encryption
@ 2024-12-10  9:37 Fabian Grünbichler
  2024-12-10 10:37 ` Mira Limbeck
  2024-12-10 11:08 ` [pbs-devel] applied: " Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Fabian Grünbichler @ 2024-12-10  9:37 UTC (permalink / raw)
  To: pbs-devel

these two were missed because they were not part of the "main" format string..

Fixes: 668b8383 ("file restore: qemu helper: switch to more modern blockdev option for drives")
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
 proxmox-file-restore/src/qemu_helper.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/proxmox-file-restore/src/qemu_helper.rs b/proxmox-file-restore/src/qemu_helper.rs
index 1274dda35..e0e169110 100644
--- a/proxmox-file-restore/src/qemu_helper.rs
+++ b/proxmox-file-restore/src/qemu_helper.rs
@@ -281,14 +281,14 @@ pub async fn start_vm(
         }
         drives.push("-blockdev".to_owned());
         let keyfile = if let Some(ref keyfile) = details.keyfile {
-            format!(",,keyfile={keyfile}")
+            format!(",keyfile={keyfile}")
         } else {
             "".to_owned()
         };
         let namespace = if details.namespace.is_root() {
             String::new()
         } else {
-            format!(",,namespace={}", details.namespace)
+            format!(",namespace={}", details.namespace)
         };
         drives.push(format!(
             "driver=pbs,repository={}{},snapshot={},archive={}{},read-only=on,node-name=drive{}",
-- 
2.39.5



_______________________________________________
pbs-devel mailing list
pbs-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pbs-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-12-10 11:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-10  9:37 [pbs-devel] [PATCH proxmox-backup] file-restore: fix -blockdev regression with namespaces or encryption Fabian Grünbichler
2024-12-10 10:37 ` Mira Limbeck
2024-12-10 11:08 ` [pbs-devel] applied: " Thomas Lamprecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal