explicitly mount personal floppies as read-write

This commit is contained in:
Elijah R 2024-06-23 22:21:28 -04:00
parent d71fbdaaae
commit cf2a2d24c6

View file

@ -197,6 +197,7 @@ class HelperBot extends CollabVMClient {
QemuChangeFloppy(source: string, readOnly: boolean = true) { QemuChangeFloppy(source: string, readOnly: boolean = true) {
let opts = "raw"; let opts = "raw";
if (readOnly) opts += " read-only"; if (readOnly) opts += " read-only";
else opts += " read-write";
if (this._hasFloppy) this.QemuChangeDevice("vm.floppy", source, opts); if (this._hasFloppy) this.QemuChangeDevice("vm.floppy", source, opts);
} }