]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/pb-config.c
discover: Handle and track plugin_options
[petitboot] / lib / pb-config / pb-config.c
index 86f14c9082baddb9e7bce67fc62f764a76b34f4b..7fa925c216b8992f2eb2803aa6ef662c43d33c6c 100644 (file)
@@ -63,6 +63,9 @@ struct config *config_copy(void *ctx, const struct config *src)
                dest->network.dns_servers[i] = talloc_strdup(dest,
                                src->network.dns_servers[i]);
 
+       dest->http_proxy = talloc_strdup(dest, src->http_proxy);
+       dest->https_proxy = talloc_strdup(dest, src->https_proxy);
+
        dest->n_autoboot_opts = src->n_autoboot_opts;
        dest->autoboot_opts = talloc_array(dest, struct autoboot_option,
                                        dest->n_autoboot_opts);
@@ -92,6 +95,7 @@ struct config *config_copy(void *ctx, const struct config *src)
 
        if (src->boot_console)
                dest->boot_console = talloc_strdup(dest, src->boot_console);
+       dest->manual_console = src->manual_console;
 
        if (src->lang && strlen(src->lang))
                dest->lang = talloc_strdup(dest, src->lang);