diff options
Diffstat (limited to 'testModule/parse-ip.sh')
| -rw-r--r-- | testModule/parse-ip.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testModule/parse-ip.sh b/testModule/parse-ip.sh index b381c573..3349787b 100644 --- a/testModule/parse-ip.sh +++ b/testModule/parse-ip.sh @@ -18,12 +18,11 @@ for parameter in $(getargs ip=); do [ -n "$1" ] && ip=$1 [ -n "$2" ] && server_ip=$2 - [ -n "$3" ] && broadcast_ip=$3 + [ -n "$3" ] && gateway_ip=$3 [ -n "$4" ] && net_mask=$4 - warn "PXE given net configuration: ip: $ip server_ip: $server_ip broadcast_ip: $broadcast_ip net_mask: $net_mask" + warn "PXE given net configuration: ip: $ip server_ip: $server_ip gateway_ip: $gateway_ip net_mask: $net_mask" # TODO - local gateway_ip="$broadcast_ip" replace_cmd ip "$ip::$gateway_ip:$net_mask:dracut_test_client:enp0s3:none" done |
