diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-09-18 19:18:32 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-09-18 19:19:19 +0800 |
commit | 3c173e909de0db1b2dd96b1d57851abb35bbdbc4 (patch) | |
tree | 2dfe1348e148f5eec1e325c4c2d19735c92316f2 /discover/platform.c | |
parent | 3513fbd66109b91ce1688dc1cf80521b3e5740cd (diff) | |
download | talos-petitboot-3c173e909de0db1b2dd96b1d57851abb35bbdbc4.tar.gz talos-petitboot-3c173e909de0db1b2dd96b1d57851abb35bbdbc4.zip |
discover/platform: Add boot device to config dump
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/platform.c')
-rw-r--r-- | discover/platform.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/platform.c b/discover/platform.c index 418b9ea..4d5009c 100644 --- a/discover/platform.c +++ b/discover/platform.c @@ -79,6 +79,9 @@ static void dump_config(struct config *config) for (i = 0; i < config->network.n_dns_servers; i++) pb_log(" dns server %s\n", config->network.dns_servers[i]); + if (config->boot_device) + pb_log(" boot device %s\n", config->boot_device); + if (config->n_boot_priorities) pb_log(" boot priority order:\n"); |