Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
device_handler_discover_context_commit(handler, conf->dc);
/*
device_handler_discover_context_commit(handler, conf->dc);
/*
- * TRANSLATORS: the format specifier in this string in an IP address,
- * eg. 192.168.1.1
+ * TRANSLATORS: the format specifier in this string is a URL
+ * eg. tftp://192.168.1.1/pxelinux.cfg
*/
device_handler_status_dev_info(handler, conf->dc->device,
_("Parsed PXE config from %s"),
*/
device_handler_status_dev_info(handler, conf->dc->device,
_("Parsed PXE config from %s"),
- conf->dc->conf_url->host);
+ pb_url_to_string(conf->dc->conf_url));
talloc_free(buf);
out_clean:
talloc_free(buf);
out_clean:
return -1;
if (complete_url) {
return -1;
if (complete_url) {
+ device_handler_status_dev_info(conf->dc->handler,
+ dc->device,
+ _("Requesting config %s"),
+ pb_url_to_string(conf->dc->conf_url));
+
/* we have a complete URL; use this and we're done. */
result = load_url_async(conf->dc, conf->dc->conf_url,
pxe_conf_parse_cb, conf);
/* we have a complete URL; use this and we're done. */
result = load_url_async(conf->dc, conf->dc->conf_url,
pxe_conf_parse_cb, conf);
info->pxe_conf_files = pxe_conf_files;
info->pxe_base_url = pxe_base_url;
info->pxe_conf_files = pxe_conf_files;
info->pxe_base_url = pxe_base_url;
+ device_handler_status_dev_info(conf->dc->handler,
+ conf->dc->device,
+ _("Probing from base %s"),
+ pb_url_to_string(pxe_base_url));
+
pxe_load_next_filename(conf);
}
pxe_load_next_filename(conf);
}