summaryrefslogtreecommitdiffstats
path: root/testModule/parse-ip.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testModule/parse-ip.sh')
-rw-r--r--testModule/parse-ip.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/testModule/parse-ip.sh b/testModule/parse-ip.sh
index 2f720c57..b381c573 100644
--- a/testModule/parse-ip.sh
+++ b/testModule/parse-ip.sh
@@ -1,6 +1,13 @@
# Converts ip configuration format given by the pxe pre boot provider to a
# dracut compatible static ip configuration.
+source /usr/lib/test-library.sh
+
+# TODO
+warn 'LOAD ...........................'
+warn 'LOAD ...........................'
+warn 'LOAD ...........................'
+
for parameter in $(getargs ip=); do
local temp="$parameter:"
set --
@@ -17,7 +24,7 @@ for parameter in $(getargs ip=); do
warn "PXE given net configuration: ip: $ip server_ip: $server_ip broadcast_ip: $broadcast_ip net_mask: $net_mask"
# TODO
local gateway_ip="$broadcast_ip"
- repace_cmd test "$ip::$gateway_ip:$net_mask:dracut_test_client:enp0s3:none"
+ replace_cmd ip "$ip::$gateway_ip:$net_mask:dracut_test_client:enp0s3:none"
done
# NOTE: Doesn't work since dracuts needed version of mount doesn't support