[gnome-boxes] unattended-file: Handle 'floppy' injection method
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] unattended-file: Handle 'floppy' injection method
- Date: Mon, 13 Oct 2014 17:51:49 +0000 (UTC)
commit ae2bbc81b9e8189e899df697c65d3d1684023a16
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Oct 13 18:41:04 2014 +0100
unattended-file: Handle 'floppy' injection method
This script injection method was forgotten when we added handling of
injection methods and it broke express installation for windows.
src/unattended-file.vala | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/unattended-file.vala b/src/unattended-file.vala
index 06f8f3a..94f4309 100644
--- a/src/unattended-file.vala
+++ b/src/unattended-file.vala
@@ -96,6 +96,7 @@ private class Boxes.UnattendedScriptFile : GLib.Object, Boxes.UnattendedFile {
owned get {
switch (injection_method) {
case InstallScriptInjectionMethod.DISK:
+ case InstallScriptInjectionMethod.FLOPPY:
return installer.disk_file.get_path ();
case InstallScriptInjectionMethod.INITRD:
return installer.initrd_file.get_path ();
@@ -122,6 +123,8 @@ private class Boxes.UnattendedScriptFile : GLib.Object, Boxes.UnattendedFile {
var injection_methods = script.get_injection_methods ();
if (InstallScriptInjectionMethod.DISK in injection_methods)
injection_method = InstallScriptInjectionMethod.DISK;
+ if (InstallScriptInjectionMethod.FLOPPY in injection_methods)
+ injection_method = InstallScriptInjectionMethod.FLOPPY;
else if (InstallScriptInjectionMethod.INITRD in injection_methods)
injection_method = InstallScriptInjectionMethod.INITRD;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]