Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add autoraid1 snippet #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add autoraid1 snippet #4

wants to merge 1 commit into from

Conversation

xdroop
Copy link

@xdroop xdroop commented Nov 1, 2017

This is a snippet I use to detect if the first two hard drives are the same size. If they are, then I set up a RAID-1 on both of them. If they are not, I set up a LVM arrangement. Using this I can use the same kickstart for metal as for VMs, since VMs should almost never have the first two hard drives match.

I've been carting this around since the RHEL4 days -- maybe even the late RHEL3 days -- so I don't remember who should get the original credit for putting it together, but it is probably someone from the ancient origins of the cobbler list.

For some reason I've yet to determine (mostly because I don't do many metal kickstarts any more) it doesn't work with C7. It is untested with RHEL7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant