mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
Added "hostname" and "ip" as sample settings
This commit is contained in:
@@ -251,3 +251,16 @@ struct config_setting_type config_setting_type_ipv4 __config_setting_type = {
|
||||
.set = set_ipv4,
|
||||
};
|
||||
|
||||
/** Some basic setting definitions */
|
||||
struct config_setting basic_config_settings[] __config_setting = {
|
||||
{
|
||||
.name = "hostname",
|
||||
.tag = DHCP_HOST_NAME,
|
||||
.type = &config_setting_type_string,
|
||||
},
|
||||
{
|
||||
.name = "ip",
|
||||
.tag = DHCP_EB_YIADDR,
|
||||
.type = &config_setting_type_ipv4,
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user