From 46dfa60a5faf8c460143beabb9592588abed3902 Mon Sep 17 00:00:00 2001 From: torben Date: Thu, 9 Apr 2015 02:02:46 +0200 Subject: Trying convert given pxe ip configuration to dracut compatible one. --- testModule/module-setup.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'testModule/module-setup.sh') diff --git a/testModule/module-setup.sh b/testModule/module-setup.sh index 652602f5..b06de3f5 100644 --- a/testModule/module-setup.sh +++ b/testModule/module-setup.sh @@ -10,9 +10,11 @@ depends() { } install() { - inst_hook cmdline 20 "$moddir/parse-ip.sh" - inst_hook pre-mount 20 "$moddir/setup_network.sh" - inst_multiple ping ip ifconfig mount sshd htop dhclient + # NOTE: Priority has to be greater than the network cmdline parsing hooks + # since we have to modify the some kernel parameter before. + inst_hook cmdline 100 "$moddir/parse-ip.sh" + #inst_hook pre-mount 20 "$moddir/setup_network.sh" + inst_multiple ping ip ifconfig mount sshd htop dhclient tail head cat vim touch return 0 } -- cgit v1.2.3-55-g7522