mirror of https://github.com/BOINC/boinc.git
VBOX: Add a flag for GBAC functionality.
This commit is contained in:
parent
9f3fe162d0
commit
97b9d947b8
|
@ -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;
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue