summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-02-27 11:39:41 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-02-27 13:24:24 +0800
commit922756a3aefd8ba5c5675efd37df9f43938cf432 (patch)
treeda192b7fc978742402f88d487b69a3a0d393d19a /test
parent30dce4ce0447802e3b54b3f760c5fd8eacbe75ff (diff)
downloadtalos-petitboot-922756a3aefd8ba5c5675efd37df9f43938cf432.tar.gz
talos-petitboot-922756a3aefd8ba5c5675efd37df9f43938cf432.zip
discover/pxe: Fix prefix autodetection when bootfile is in the root dir
Currently, if the bootfile doesn't contain a directory, the path we use for config file resolution will use the bootfile as the first component of path. For example, if bootfile is: pxelinux.0 the config files requested will be: pxelinux.0/<mac> pxelinux.0/<ips> pxelinux.0/default For cases where bootfile is a single file, we need to use a blank prefix. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud