explicitly mount personal floppies as read-write
This commit is contained in:
parent
d71fbdaaae
commit
cf2a2d24c6
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue