Add system info messages
[petitboot] / discover / pb-discover.c
index ccd1c7daba597441c9df3dac3e67f89ed2aeab50..9b1f20041da7a7a764233abc4f1d3499775be2a1 100644 (file)
@@ -19,6 +19,7 @@
 #include "discover-server.h"
 #include "device-handler.h"
 #include "network.h"
+#include "sysinfo.h"
 
 static void print_version(void)
 {
@@ -172,6 +173,8 @@ int main(int argc, char *argv[])
        if (opts.no_autoboot == opt_yes)
                config_set_autoboot(false);
 
+       system_info_init(server);
+
        handler = device_handler_init(server, waitset, opts.dry_run == opt_yes);
        if (!handler)
                return EXIT_FAILURE;