]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/pb-config.c
lib: Add AUTH_MSG_DECRYPT
[petitboot] / lib / pb-config / pb-config.c
index 86f14c9082baddb9e7bce67fc62f764a76b34f4b..a802c92faaa3496e6d673e446820760ad275b251 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);
@@ -80,6 +83,7 @@ struct config *config_copy(void *ctx, const struct config *src)
 
        dest->ipmi_bootdev = src->ipmi_bootdev;
        dest->ipmi_bootdev_persistent = src->ipmi_bootdev_persistent;
+       dest->ipmi_bootdev_mailbox = src->ipmi_bootdev_mailbox;
 
        dest->allow_writes = src->allow_writes;
 
@@ -92,6 +96,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);