[cmdline] Add certificate management commands
[ipxe.git] / src / config / general.h
1 #ifndef CONFIG_GENERAL_H
2 #define CONFIG_GENERAL_H
3
4 /** @file
5 *
6 * General configuration
7 *
8 */
9
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12 #include <config/defaults.h>
13
14 /*
15 * Banner timeout configuration
16 *
17 * This controls the timeout for the "Press Ctrl-B for the iPXE
18 * command line" banner displayed when iPXE starts up. The value is
19 * specified in tenths of a second for which the banner should appear.
20 * A value of 0 disables the banner.
21 *
22 * ROM_BANNER_TIMEOUT controls the "Press Ctrl-B to configure iPXE"
23 * banner displayed only by ROM builds of iPXE during POST. This
24 * defaults to being twice the length of BANNER_TIMEOUT, to allow for
25 * BIOSes that switch video modes immediately before calling the
26 * initialisation vector, thus rendering the banner almost invisible
27 * to the user.
28 */
29 #define BANNER_TIMEOUT 20
30 #define ROM_BANNER_TIMEOUT ( 2 * BANNER_TIMEOUT )
31
32 /*
33 * Network protocols
34 *
35 */
36
37 #define NET_PROTO_IPV4 /* IPv4 protocol */
38 #undef NET_PROTO_IPV6 /* IPv6 protocol */
39 #undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
40 #define NET_PROTO_STP /* Spanning Tree protocol */
41 #define NET_PROTO_LACP /* Link Aggregation control protocol */
42
43 /*
44 * PXE support
45 *
46 */
47 //#undef PXE_STACK /* PXE stack in iPXE - you want this! */
48 //#undef PXE_MENU /* PXE menu booting */
49
50 /*
51 * Download protocols
52 *
53 */
54
55 #define DOWNLOAD_PROTO_TFTP /* Trivial File Transfer Protocol */
56 #define DOWNLOAD_PROTO_HTTP /* Hypertext Transfer Protocol */
57 #undef DOWNLOAD_PROTO_HTTPS /* Secure Hypertext Transfer Protocol */
58 #undef DOWNLOAD_PROTO_FTP /* File Transfer Protocol */
59 #undef DOWNLOAD_PROTO_SLAM /* Scalable Local Area Multicast */
60 #undef DOWNLOAD_PROTO_NFS /* Network File System Protocol */
61 //#undef DOWNLOAD_PROTO_FILE /* Local filesystem access */
62
63 /*
64 * SAN boot protocols
65 *
66 */
67
68 //#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
69 //#undef SANBOOT_PROTO_AOE /* AoE protocol */
70 //#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
71 //#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
72 //#undef SANBOOT_PROTO_HTTP /* HTTP SAN protocol */
73
74 /*
75 * HTTP extensions
76 *
77 */
78 #define HTTP_AUTH_BASIC /* Basic authentication */
79 #define HTTP_AUTH_DIGEST /* Digest authentication */
80 //#define HTTP_ENC_PEERDIST /* PeerDist content encoding */
81
82 /*
83 * 802.11 cryptosystems and handshaking protocols
84 *
85 */
86 #define CRYPTO_80211_WEP /* WEP encryption (deprecated and insecure!) */
87 #define CRYPTO_80211_WPA /* WPA Personal, authenticating with passphrase */
88 #define CRYPTO_80211_WPA2 /* Add support for stronger WPA cryptography */
89
90 /*
91 * Name resolution modules
92 *
93 */
94
95 #define DNS_RESOLVER /* DNS resolver */
96
97 /*
98 * Image types
99 *
100 * Etherboot supports various image formats. Select whichever ones
101 * you want to use.
102 *
103 */
104 //#define IMAGE_NBI /* NBI image support */
105 //#define IMAGE_ELF /* ELF image support */
106 //#define IMAGE_MULTIBOOT /* MultiBoot image support */
107 //#define IMAGE_PXE /* PXE image support */
108 //#define IMAGE_SCRIPT /* iPXE script image support */
109 //#define IMAGE_BZIMAGE /* Linux bzImage image support */
110 //#define IMAGE_COMBOOT /* SYSLINUX COMBOOT image support */
111 //#define IMAGE_EFI /* EFI image support */
112 //#define IMAGE_SDI /* SDI image support */
113 //#define IMAGE_PNM /* PNM image support */
114 #define IMAGE_PNG /* PNG image support */
115 #define IMAGE_DER /* DER image support */
116 #define IMAGE_PEM /* PEM image support */
117
118 /*
119 * Command-line commands to include
120 *
121 */
122 #define AUTOBOOT_CMD /* Automatic booting */
123 #define NVO_CMD /* Non-volatile option storage commands */
124 #define CONFIG_CMD /* Option configuration console */
125 #define IFMGMT_CMD /* Interface management commands */
126 #define IWMGMT_CMD /* Wireless interface management commands */
127 #define IBMGMT_CMD /* Infiniband management commands */
128 #define FCMGMT_CMD /* Fibre Channel management commands */
129 #define ROUTE_CMD /* Routing table management commands */
130 #define IMAGE_CMD /* Image management commands */
131 #define DHCP_CMD /* DHCP management commands */
132 #define SANBOOT_CMD /* SAN boot commands */
133 #define MENU_CMD /* Menu commands */
134 #define LOGIN_CMD /* Login command */
135 #define SYNC_CMD /* Sync command */
136 //#define NSLOOKUP_CMD /* DNS resolving command */
137 //#define TIME_CMD /* Time commands */
138 //#define DIGEST_CMD /* Image crypto digest commands */
139 //#define LOTEST_CMD /* Loopback testing commands */
140 //#define VLAN_CMD /* VLAN commands */
141 //#define PXE_CMD /* PXE commands */
142 //#define REBOOT_CMD /* Reboot command */
143 //#define POWEROFF_CMD /* Power off command */
144 //#define IMAGE_TRUST_CMD /* Image trust management commands */
145 //#define PCI_CMD /* PCI commands */
146 //#define PARAM_CMD /* Form parameter commands */
147 //#define NEIGHBOUR_CMD /* Neighbour management commands */
148 //#define PING_CMD /* Ping command */
149 //#define CONSOLE_CMD /* Console command */
150 //#define IPSTAT_CMD /* IP statistics commands */
151 //#define PROFSTAT_CMD /* Profiling commands */
152 //#define NTP_CMD /* NTP commands */
153 //#define CERT_CMD /* Certificate management commands */
154
155 /*
156 * ROM-specific options
157 *
158 */
159 #undef NONPNP_HOOK_INT19 /* Hook INT19 on non-PnP BIOSes */
160 #define AUTOBOOT_ROM_FILTER /* Autoboot only devices matching our ROM */
161
162 /*
163 * Virtual network devices
164 *
165 */
166 #define VNIC_IPOIB /* Infiniband IPoIB virtual NICs */
167 //#define VNIC_XSIGO /* Infiniband Xsigo virtual NICs */
168
169 /*
170 * Error message tables to include
171 *
172 */
173 #undef ERRMSG_80211 /* All 802.11 error descriptions (~3.3kb) */
174
175 /*
176 * Obscure configuration options
177 *
178 * You probably don't need to touch these.
179 *
180 */
181
182 #undef BUILD_SERIAL /* Include an automatic build serial
183 * number. Add "bs" to the list of
184 * make targets. For example:
185 * "make bin/rtl8139.dsk bs" */
186 #undef BUILD_ID /* Include a custom build ID string,
187 * e.g "test-foo" */
188 #undef NULL_TRAP /* Attempt to catch NULL function calls */
189 #undef GDBSERIAL /* Remote GDB debugging over serial */
190 #undef GDBUDP /* Remote GDB debugging over UDP
191 * (both may be set) */
192 //#define EFI_DOWNGRADE_UX /* Downgrade UEFI user experience */
193
194 #include <config/named.h>
195 #include NAMED_CONFIG(general.h)
196 #include <config/local/general.h>
197 #include LOCAL_NAMED_CONFIG(general.h)
198
199 #endif /* CONFIG_GENERAL_H */