]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/storage-powerpc-nvram.c
lib/pb-config/powerpc-nvram: Fix format of dns config
[petitboot] / lib / pb-config / storage-powerpc-nvram.c
index bd7526806aeb0c0d11cb2906fc28b78932648504..92305f93882cad62dac51324e4d8881f167e9a2d 100644 (file)
@@ -426,7 +426,7 @@ static char *dns_config_str(void *ctx, const char **dns_servers, int n)
        char *str;
        int i;
 
-       str = talloc_strdup(ctx, "dns=");
+       str = talloc_strdup(ctx, "dns,");
        for (i = 0; i < n; i++) {
                str = talloc_asprintf_append(str, "%s%s",
                                i == 0 ? "" : ",",