diff options
author | Erich Eckner <git@eckner.net> | 2017-03-22 23:29:12 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-22 23:29:12 +0100 |
commit | 76f6bc77ccf7bb8ccc3dd1eb9749f57c0d74bfdf (patch) | |
tree | ceb26ada2658c9dae2722373727b13f3f334262d /archiso/initcpio/hooks/archiso_pxe_common | |
parent | 60c2e0242099dee65155944071304344b3bfe3ba (diff) | |
parent | 3fec50122543908a744c200e0bdfb3ceab6331a7 (diff) | |
download | archiso32-76f6bc77ccf7bb8ccc3dd1eb9749f57c0d74bfdf.tar.xz |
Merge commit '3fec501'
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_common')
-rw-r--r-- | archiso/initcpio/hooks/archiso_pxe_common | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_common b/archiso/initcpio/hooks/archiso_pxe_common index 96a10c5..2380ca3 100644 --- a/archiso/initcpio/hooks/archiso_pxe_common +++ b/archiso/initcpio/hooks/archiso_pxe_common @@ -22,7 +22,11 @@ run_hook () { break fi done - ip="${ip}::${bootif_dev}" + if [[ "${ip}" == "dhcp" ]]; then + ip=":::::${bootif_dev}:dhcp" + else + ip="${ip}::${bootif_dev}" + fi fi # setup network and save some values |