X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=discover%2Fpxe-parser.c;h=4aae8b14bf2eccf27cd209fd8870218e4345d2d6;hb=662129afba2d344d692a9dbfd430c91eff4f281d;hp=4481e5da9f7c9709d31cea7e00e29709cf203d38;hpb=2163af58b5e631a2a8d2acd79b541ed884ab7b57;p=petitboot diff --git a/discover/pxe-parser.c b/discover/pxe-parser.c index 4481e5d..4aae8b1 100644 --- a/discover/pxe-parser.c +++ b/discover/pxe-parser.c @@ -166,6 +166,13 @@ static void pxe_process_pair(struct conf_context *ctx, url = pxe_url_join(ctx->dc, ctx->dc->conf_url, value); opt->boot_image = create_url_resource(opt, url); + char* args_sigfile_default = talloc_asprintf(opt, + "%s.cmdline.sig", value); + url = pxe_url_join(ctx->dc, ctx->dc->conf_url, + args_sigfile_default); + opt->args_sig_file = create_url_resource(opt, url); + talloc_free(args_sigfile_default); + } else if (streq(name, "INITRD")) { url = pxe_url_join(ctx->dc, ctx->dc->conf_url, value); opt->initrd = create_url_resource(opt, url);