diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index 20be6bafc4..e2ae0f6200 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -100,6 +100,7 @@ VBOX_VM::VBOX_VM() { enable_cache_disk = false; enable_isocontextualization = false; enable_remotedesktop = false; + enable_gbac = false; register_only = false; enable_network = false; network_bridged_mode = false; diff --git a/samples/vboxwrapper/vbox.h b/samples/vboxwrapper/vbox.h index 2010fd9434..06572fcea3 100644 --- a/samples/vboxwrapper/vbox.h +++ b/samples/vboxwrapper/vbox.h @@ -167,6 +167,8 @@ public: // whether to use floppy io infrastructure bool enable_remotedesktop; // whether to enable remote desktop functionality + bool enable_gbac; + // whether to enable GBAC functionality double job_duration; // maximum amount of wall-clock time this VM is allowed to run before // considering itself done. diff --git a/samples/vboxwrapper/vboxwrapper.cpp b/samples/vboxwrapper/vboxwrapper.cpp index c05a69785e..90418cd78c 100644 --- a/samples/vboxwrapper/vboxwrapper.cpp +++ b/samples/vboxwrapper/vboxwrapper.cpp @@ -210,6 +210,7 @@ int parse_job_file(VBOX_VM& vm) { else if (xp.parse_bool("enable_cache_disk", vm.enable_cache_disk)) continue; else if (xp.parse_bool("enable_isocontextualization", vm.enable_isocontextualization)) continue; else if (xp.parse_bool("enable_remotedesktop", vm.enable_remotedesktop)) continue; + else if (xp.parse_bool("enable_gbac", vm.enable_gbac)) continue; else if (xp.parse_int("pf_guest_port", guest_port)) { PORT_FORWARD pf; pf.host_port = 0;