Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
archiso
Commits
a04548ce
Commit
a04548ce
authored
Sep 29, 2016
by
Christian Hesse
😜
Committed by
Gerardo Exequiel Pozzi
Sep 29, 2016
Browse files
pxe-common: not only search, but also domain entry in resolv.conf
Signed-off-by:
Christian Hesse
<
mail@eworm.de
>
parent
7b5d8767
Changes
1
Hide whitespace changes
Inline
Side-by-side
archiso/initcpio/hooks/archiso_pxe_common
View file @
a04548ce
...
...
@@ -47,6 +47,7 @@ run_hook () {
fi
if
[[
-n
"
${
DNSDOMAIN
}
"
]]
;
then
echo
"search
${
DNSDOMAIN
}
"
>>
/etc/resolv.conf
echo
"domain
${
DNSDOMAIN
}
"
>>
/etc/resolv.conf
fi
fi
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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