diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-02-27 10:33:13 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-02-27 13:24:23 +0800 |
commit | 30dce4ce0447802e3b54b3f760c5fd8eacbe75ff (patch) | |
tree | 2bbe9adfa18f15859d3d5a1343b6c4a8e3215639 /test/parser/test-pxe-mac-without-conf.c | |
parent | 9c950743461770220231d320db8c372aa74f9163 (diff) | |
download | talos-petitboot-30dce4ce0447802e3b54b3f760c5fd8eacbe75ff.tar.gz talos-petitboot-30dce4ce0447802e3b54b3f760c5fd8eacbe75ff.zip |
discover/pxe: Add pxelinux.cfg/ directory to autodiscovered pxe paths
The pxelinux project will perform autodiscovery by looking for files
under the pxelinux.cfg/ prefix (in addition to any pxepathprefix from
DHCP option 210)
This change unifies petitboot's behaviour with pxelinux.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/parser/test-pxe-mac-without-conf.c')
-rw-r--r-- | test/parser/test-pxe-mac-without-conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parser/test-pxe-mac-without-conf.c b/test/parser/test-pxe-mac-without-conf.c index e42e374..f84d63b 100644 --- a/test/parser/test-pxe-mac-without-conf.c +++ b/test/parser/test-pxe-mac-without-conf.c @@ -16,7 +16,7 @@ void run_test(struct parser_test *test) struct discover_context *ctx; test_read_conf_embedded_url(test, - "tftp://host/dir/01-12-34-56-78-9a-bc"); + "tftp://host/dir/pxelinux.cfg/01-12-34-56-78-9a-bc"); test_set_event_source(test); test_set_event_param(test->ctx->event, "bootfile", "dir/pxe"); |