diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-26 13:29:04 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-26 13:29:04 +0800 |
commit | e319737c4f67ad1c468d980aa20d6dc7e7d5cdb5 (patch) | |
tree | 0debf9c1b3765c16c81a94e401f28179ecee4b7c /lib | |
parent | e3319e99833a30a63e3a7ed3b6b22a127bcd0d50 (diff) | |
download | talos-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.c | 2 |
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 ? "" : ",", |