VBOX: Add a flag for GBAC functionality.

This commit is contained in:
Rom Walton 2014-10-24 11:54:11 -04:00
parent 9f3fe162d0
commit 97b9d947b8
3 changed files with 4 additions and 0 deletions

View File

@ -100,6 +100,7 @@ VBOX_VM::VBOX_VM() {
enable_cache_disk = false; enable_cache_disk = false;
enable_isocontextualization = false; enable_isocontextualization = false;
enable_remotedesktop = false; enable_remotedesktop = false;
enable_gbac = false;
register_only = false; register_only = false;
enable_network = false; enable_network = false;
network_bridged_mode = false; network_bridged_mode = false;

View File

@ -167,6 +167,8 @@ public:
// whether to use floppy io infrastructure // whether to use floppy io infrastructure
bool enable_remotedesktop; bool enable_remotedesktop;
// whether to enable remote desktop functionality // whether to enable remote desktop functionality
bool enable_gbac;
// whether to enable GBAC functionality
double job_duration; double job_duration;
// maximum amount of wall-clock time this VM is allowed to run before // maximum amount of wall-clock time this VM is allowed to run before
// considering itself done. // considering itself done.

View File

@ -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_cache_disk", vm.enable_cache_disk)) continue;
else if (xp.parse_bool("enable_isocontextualization", vm.enable_isocontextualization)) 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_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)) { else if (xp.parse_int("pf_guest_port", guest_port)) {
PORT_FORWARD pf; PORT_FORWARD pf;
pf.host_port = 0; pf.host_port = 0;