Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
7b5d8767
Commit
7b5d8767
authored
Sep 29, 2016
by
Christian Hesse
😜
Committed by
Gerardo Exequiel Pozzi
Sep 29, 2016
Browse files
pxe-common: add dns domain name in resolv.conf
Signed-off-by:
Christian Hesse
<
mail@eworm.de
>
parent
38b81f03
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/initcpio/hooks/archiso_pxe_common
View file @
7b5d8767
...
...
@@ -45,6 +45,9 @@ run_hook () {
if
[[
"
${
IPV4DNS1
}
"
!=
"0.0.0.0"
]]
;
then
echo
"nameserver
${
IPV4DNS1
}
"
>>
/etc/resolv.conf
fi
if
[[
-n
"
${
DNSDOMAIN
}
"
]]
;
then
echo
"search
${
DNSDOMAIN
}
"
>>
/etc/resolv.conf
fi
fi
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment