mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
SELECTED_NETWORK
This commit is contained in:
parent
f16ae586c3
commit
9dcc8ce5f4
@ -187,6 +187,8 @@ configureNetworks () {
|
|||||||
# If this env variable is not set, the IP to be given to the VM is
|
# If this env variable is not set, the IP to be given to the VM is
|
||||||
# the first in the list for that interface (default behaviour).
|
# the first in the list for that interface (default behaviour).
|
||||||
|
|
||||||
|
SELECTED_NETWORK=""
|
||||||
|
|
||||||
if ! [[ -z "$SELECTED_NETWORK" ]]; then
|
if ! [[ -z "$SELECTED_NETWORK" ]]; then
|
||||||
local given_ip given_mask
|
local given_ip given_mask
|
||||||
IFS=/ read given_ip given_mask <<< $SELECTED_NETWORK
|
IFS=/ read given_ip given_mask <<< $SELECTED_NETWORK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user