mirror of
https://github.com/ipxe/ipxe
synced 2026-02-14 02:31:26 +03:00
[block] Allow SAN boot device to be identified by an extra filename
Add an "--extra" option that can be used to specify an extra (non-boot) filename that must exist within the booted filesystem. Note that only files within the FAT-formatted bootable partition will be visible to this filter. Files within the operating system's root disk (e.g. "/etc/redhat-release") are not generally accessible to the firmware and so cannot be used as the existence check filter filename. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -110,6 +110,8 @@ enum san_device_flags {
|
||||
struct san_boot_config {
|
||||
/** Boot filename (or NULL to use default) */
|
||||
const char *filename;
|
||||
/** Required extra filename (or NULL to ignore) */
|
||||
const char *extra;
|
||||
/** UUID (or NULL to ignore UUID) */
|
||||
union uuid *uuid;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user