index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Christian Hesse <mail@eworm.de> | 2016-09-29 17:09:59 +0200 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@gmail.com> | 2016-09-29 19:34:51 -0300 |
commit | 5edebd5eba57cd46408f34e3239bde8a2145ed71 (patch) | |
tree | 8b9642cc97b4e2c7e93eb18411761de844a13180 | |
parent | bea6a1f2b1270d86aea8d57f98bddf88594834de (diff) |
-rw-r--r-- | hooks/archiso_pxe_common | 3 |
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index 7de2a39..652ef8f 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -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 } |