]> git.proxmox.com Git - pve-installer.git/commitdiff
assistant: use single dash for xorriso parameter
authorAaron Lauterer <a.lauterer@proxmox.com>
Tue, 30 Apr 2024 10:46:09 +0000 (12:46 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 May 2024 13:50:42 +0000 (15:50 +0200)
while it works with two, one is what is shown in the man page and what
we already use for the other paramters.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
Reviewed-by: Stoiko Ivanov <s.ivanov@proxmox.com>
Tested-by: Stoiko Ivanov <s.ivanov@proxmox.com>
proxmox-auto-install-assistant/src/main.rs

index f8e5ed02c4fca70656bb067caf31d47ef765c004..1447175feb6d1b6444a77954855afdcc222a6b5f 100644 (file)
@@ -379,7 +379,7 @@ fn final_iso_location(args: &CommandPrepareISO) -> PathBuf {
 
 fn inject_file_to_iso(iso: &PathBuf, file: &PathBuf, location: &str, uuid: &String) -> Result<()> {
     let result = Command::new("xorriso")
-        .arg("--boot_image")
+        .arg("-boot_image")
         .arg("any")
         .arg("keep")
         .arg("-volume_date")