vboxwrapper: change option name to "network_bridged_mode"

This commit is contained in:
David Anderson 2014-08-19 19:28:38 -07:00
parent 67ea1b6b56
commit e55297a8f0
3 changed files with 4 additions and 4 deletions

View File

@ -101,7 +101,7 @@ VBOX_VM::VBOX_VM() {
enable_remotedesktop = false;
register_only = false;
enable_network = false;
enable_network_bridged_mode = false;
network_bridged_mode = false;
pf_guest_port = 0;
pf_host_port = 0;
headless = true;
@ -519,7 +519,7 @@ int VBOX_VM::create_vm() {
// Tweak the VM's Network Configuration
//
if (enable_network_bridged_mode) {
if (network_bridged_mode) {
fprintf(
stderr,
"%s Setting Network Configuration for Bridged Mode.\n",

View File

@ -140,7 +140,7 @@ public:
// whether to add an extra cache disk for systems like uCernVM
bool enable_network;
// whether to allow network access
bool enable_network_bridged_mode;
bool network_bridged_mode;
// use bridged mode for network
bool enable_shared_directory;
// whether to use shared directory infrastructure

View File

@ -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_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_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_floppyio", vm.enable_floppyio)) continue;
else if (xp.parse_bool("enable_cache_disk", vm.enable_cache_disk)) continue;