diff --git a/scripts/config.js b/scripts/config.js index 3d53cf9..b204392 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -220,7 +220,7 @@ function parseDisk (disk) { // disk in format: STORAGE: FILENAME, ARG1=..., ARG2 let parsed = {}; let kvpairs = disk.split(","); parsed.storage = kvpairs[0].split(":")[0]; - parsed.filename = kvpairs[0].split(":")[1].replace("iso/", ""); + parsed.filename = kvpairs[0]; kvpairs.shift(); kvpairs.forEach((element) => { let key = element.split("=")[0];