summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-11-26 13:29:04 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-11-26 13:29:04 +0800
commite319737c4f67ad1c468d980aa20d6dc7e7d5cdb5 (patch)
tree0debf9c1b3765c16c81a94e401f28179ecee4b7c /lib
parente3319e99833a30a63e3a7ed3b6b22a127bcd0d50 (diff)
downloadtalos-petitboot-e319737c4f67ad1c468d980aa20d6dc7e7d5cdb5.tar.gz
talos-petitboot-e319737c4f67ad1c468d980aa20d6dc7e7d5cdb5.zip
lib/pb-config/powerpc-nvram: Fix format of dns config
It should be dns,<server> not dns=<server> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/pb-config/storage-powerpc-nvram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pb-config/storage-powerpc-nvram.c b/lib/pb-config/storage-powerpc-nvram.c
index bd75268..92305f9 100644
--- a/lib/pb-config/storage-powerpc-nvram.c
+++ b/lib/pb-config/storage-powerpc-nvram.c
@@ -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 ? "" : ",",
OpenPOWER on IntegriCloud