mirror of https://github.com/BOINC/boinc.git
vboxwrapper: change option name to "network_bridged_mode"
This commit is contained in:
parent
67ea1b6b56
commit
e55297a8f0
|
@ -101,7 +101,7 @@ VBOX_VM::VBOX_VM() {
|
||||||
enable_remotedesktop = false;
|
enable_remotedesktop = false;
|
||||||
register_only = false;
|
register_only = false;
|
||||||
enable_network = false;
|
enable_network = false;
|
||||||
enable_network_bridged_mode = false;
|
network_bridged_mode = false;
|
||||||
pf_guest_port = 0;
|
pf_guest_port = 0;
|
||||||
pf_host_port = 0;
|
pf_host_port = 0;
|
||||||
headless = true;
|
headless = true;
|
||||||
|
@ -519,7 +519,7 @@ int VBOX_VM::create_vm() {
|
||||||
|
|
||||||
// Tweak the VM's Network Configuration
|
// Tweak the VM's Network Configuration
|
||||||
//
|
//
|
||||||
if (enable_network_bridged_mode) {
|
if (network_bridged_mode) {
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
stderr,
|
||||||
"%s Setting Network Configuration for Bridged Mode.\n",
|
"%s Setting Network Configuration for Bridged Mode.\n",
|
||||||
|
|
|
@ -140,7 +140,7 @@ public:
|
||||||
// whether to add an extra cache disk for systems like uCernVM
|
// whether to add an extra cache disk for systems like uCernVM
|
||||||
bool enable_network;
|
bool enable_network;
|
||||||
// whether to allow network access
|
// whether to allow network access
|
||||||
bool enable_network_bridged_mode;
|
bool network_bridged_mode;
|
||||||
// use bridged mode for network
|
// use bridged mode for network
|
||||||
bool enable_shared_directory;
|
bool enable_shared_directory;
|
||||||
// whether to use shared directory infrastructure
|
// whether to use shared directory infrastructure
|
||||||
|
|
|
@ -199,7 +199,7 @@ int parse_job_file(VBOX_VM& vm) {
|
||||||
else if (xp.parse_string("fraction_done_filename", vm.fraction_done_filename)) continue;
|
else if (xp.parse_string("fraction_done_filename", vm.fraction_done_filename)) continue;
|
||||||
else if (xp.parse_bool("enable_cern_dataformat", vm.enable_cern_dataformat)) continue;
|
else if (xp.parse_bool("enable_cern_dataformat", vm.enable_cern_dataformat)) continue;
|
||||||
else if (xp.parse_bool("enable_network", vm.enable_network)) continue;
|
else if (xp.parse_bool("enable_network", vm.enable_network)) continue;
|
||||||
else if (xp.parse_bool("enable_network_bridged_mode", vm.enable_network_bridged_mode)) continue;
|
else if (xp.parse_bool("network_bridged_mode", vm.network_bridged_mode)) continue;
|
||||||
else if (xp.parse_bool("enable_shared_directory", vm.enable_shared_directory)) continue;
|
else if (xp.parse_bool("enable_shared_directory", vm.enable_shared_directory)) continue;
|
||||||
else if (xp.parse_bool("enable_floppyio", vm.enable_floppyio)) continue;
|
else if (xp.parse_bool("enable_floppyio", vm.enable_floppyio)) continue;
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue