summaryrefslogtreecommitdiffstats
path: root/testModule/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'testModule/hooks')
-rwxr-xr-xtestModule/hooks/cmdlineOLD.sh (renamed from testModule/hooks/cmdline.sh)3
1 files changed, 2 insertions, 1 deletions
diff --git a/testModule/hooks/cmdline.sh b/testModule/hooks/cmdlineOLD.sh
index 340467df..95f6f6a6 100755
--- a/testModule/hooks/cmdline.sh
+++ b/testModule/hooks/cmdlineOLD.sh
@@ -17,9 +17,10 @@ for parameter in $(getargs ip=); do
[ -n "$4" ] && net_mask=$4
warn "PXE given net configuration: ip: $ip server_ip: $server_ip gateway_ip: $gateway_ip net_mask: $net_mask"
- local final_dracut_ip_config="$ip::$gateway_ip:$net_mask:dracut_test_client:enp0s3:none"
+ local final_dracut_ip_config="$ip:$server_ip:$gateway_ip:$net_mask:dracut_test_client:enp0s3:none"
warn "Final dracut ip config: $final_dracut_ip_config"
replace_cmd ip "$final_dracut_ip_config"
+ echo "root-path=nfs:$server_ip:/">>/tmp/cmdline
done
# NOTE: Doesn't work since dracuts needed version of mount doesn't support