]> git.ozlabs.org Git - petitboot/blobdiff - lib/pb-config/pb-config.h
discover: populate udev device types
[petitboot] / lib / pb-config / pb-config.h
index 748b409ada3c04a5ff85602c55b33fc53291685a..c74fa1b530188410478e3414a2c8759a813fdfda 100644 (file)
@@ -19,7 +19,6 @@ struct interface_config {
                struct {
                        char *address;
                        char *gateway;
-                       char *dns;
                } static_config;
        };
 };
@@ -27,10 +26,13 @@ struct interface_config {
 struct network_config {
        struct interface_config **interfaces;
        int                     n_interfaces;
+       const char              **dns_servers;
+       int                     n_dns_servers;
 };
 
 struct config {
        bool                    autoboot_enabled;
+       int                     autoboot_timeout_sec;
        struct network_config   network;
 };