discover: Avoid writing network overrides to NVRAM
[petitboot] / lib / pb-config / pb-config.c
index 52a43b1607dc8bbf1410569474b1bd9c786bf8d6..581d70f08cb8f65a4c680e77e7512366fc640e7a 100644 (file)
@@ -33,6 +33,7 @@ static struct interface_config *config_copy_interface(struct config *ctx,
                        talloc_strdup(dest, src->static_config.url);
                break;
        }
+       dest->override = src->override;
 
        return dest;
 }