-
Notifications
You must be signed in to change notification settings - Fork 145
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
Allow custom variables to be defined as 6th parameter on PART #85
base: master
Are you sure you want to change the base?
Conversation
For example the SWRAIDLEVEL can be changed for different partitions.
I had to do many adjustments but now it's working! With this config file:
I was able to get the first 3 partitions with RAID1 and the last one with RAID0. NOTE: I changed the logic for the "crypt" part.. before it was just checking if the 5th column had anything, now it must say "yes" to have crypt enabled (it can be changed to any other word, of course). |
hey @asciiprod , what do you think about this? I have adapted my launch scripts to use my patched version, but it could be better if we can merge it and we just go back to use upstream version. I'm open to comments! |
Was able to create a RAID1+0 flawlessly with #85, thanks! |
Cool, glad to hear that, @awsms ! 😊 |
Would something like this also work? SWRAID 1 PART /boot ext3 1024M LV vg0 root / ext4 20G |
@lraphael sorry for the delay. Yes, I think it should work, but keep in mind that you need to populate the "encrypt" field before our custom variables. |
For example the SWRAIDLEVEL can be changed for different partitions:
Not tested yet, done quickly on the Github UI, can test it later.