diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-16 22:58:48 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-16 22:58:48 +0000 |
commit | d00934c8d302b41e262170d15f86fb42764f83c9 (patch) | |
tree | 2be6c10ff0d81c9dda04f17944818c33c55f2ad7 /loader2/loader.h | |
parent | 3d17d872deb0ae67a75d72eb29d32a67ebf5b6a7 (diff) | |
download | anaconda-d00934c8d302b41e262170d15f86fb42764f83c9.tar.gz anaconda-d00934c8d302b41e262170d15f86fb42764f83c9.tar.xz anaconda-d00934c8d302b41e262170d15f86fb42764f83c9.zip |
add nonet and nostorage to not automatically load network and storage
drivers. useful if you're kickstarting and need to do an alternate driver
as you can then do a device line in your ks.cfg
Diffstat (limited to 'loader2/loader.h')
-rw-r--r-- | loader2/loader.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/loader2/loader.h b/loader2/loader.h index 352d7013f..3cc8a84fc 100644 --- a/loader2/loader.h +++ b/loader2/loader.h @@ -14,7 +14,7 @@ #define LOADER_FLAGS_KICKSTART (1 << 4) #define LOADER_FLAGS_KICKSTART_SEND_MAC (1 << 5) #define LOADER_FLAGS_POWEROFF (1 << 6) -#define LOADER_FLAGS_NOPROBE (1 << 7) +#define LOADER_FLAGS_NONET (1 << 7) #define LOADER_FLAGS_MODDISK (1 << 8) #define LOADER_FLAGS_ISA (1 << 9) #define LOADER_FLAGS_SERIAL (1 << 10) @@ -36,6 +36,7 @@ #define LOADER_FLAGS_HALT (1 << 13) #define LOADER_FLAGS_SELINUX (1 << 14) #define LOADER_FLAGS_VIRTPCONSOLE (1 << 15) +#define LOADER_FLAGS_NOSTORAGE (1 << 30) #define FL_TESTING(a) ((a) & LOADER_FLAGS_TESTING) #define FL_EXPERT(a) ((a) & LOADER_FLAGS_EXPERT) @@ -44,7 +45,7 @@ #define FL_KICKSTART(a) ((a) & LOADER_FLAGS_KICKSTART) #define FL_KICKSTART_SEND_MAC(a) ((a) & LOADER_FLAGS_KICKSTART_SEND_MAC) #define FL_POWEROFF(a) ((a) & LOADER_FLAGS_POWEROFF) -#define FL_NOPROBE(a) ((a) & LOADER_FLAGS_NOPROBE) +#define FL_NONET(a) ((a) & LOADER_FLAGS_NONET) #define FL_MODDISK(a) ((a) & LOADER_FLAGS_MODDISK) #define FL_ISA(a) ((a) & LOADER_FLAGS_ISA) #define FL_SERIAL(a) ((a) & LOADER_FLAGS_SERIAL) @@ -68,6 +69,8 @@ #define FL_HALT(a) ((a) & LOADER_FLAGS_HALT) #define FL_SELINUX(a) ((a) & LOADER_FLAGS_SELINUX) #define FL_VIRTPCONSOLE(a) ((a) & LOADER_FLAGS_VIRTPCONSOLE) +#define FL_NOSTORAGE(a) ((a) & LOADER_FLAGS_NOSTORAGE) +#define FL_NOPROBE(a) (FL_NOSTORAGE(a) | FL_NONET(a)) void startNewt(int flags); void stopNewt(); |