]> git.ozlabs.org Git - petitboot/blobdiff - discover/platform.c
Make read-only guarantee user-settable
[petitboot] / discover / platform.c
index 74e2a82df3225519fdcc2ad49ebc3502214bda09..b1d0f19bafadd8a1ca1059bfe530c04de26eb801 100644 (file)
@@ -108,6 +108,7 @@ void config_set_defaults(struct config *config)
        config->network.n_dns_servers = 0;
        config->safe_mode = false;
        config->lang = NULL;
+       config->allow_writes = true;
 
        config->n_autoboot_opts = 2;
        config->autoboot_opts = talloc_array(config, struct autoboot_option,