Enhanced automated install with RAID feature#33
Open
priyama2 wants to merge 1 commit intolop-devops:masterfrom
Open
Enhanced automated install with RAID feature#33priyama2 wants to merge 1 commit intolop-devops:masterfrom
priyama2 wants to merge 1 commit intolop-devops:masterfrom
Conversation
Signed-off-by: priyama2 <priyama2@in.ibm.com>
| root_disks = full_disks # / can be on all disks (RAID or not) | ||
| vmParser.args.host_disk = ",".join(full_disks) | ||
| print(f"{boot_disk}") | ||
| print(f"{root_disks}") |
Contributor
There was a problem hiding this comment.
Please push this into the logger
Contributor
Author
There was a problem hiding this comment.
Changes are in-progress
| full_disks = ["/dev/disk/by-id/" + disk.strip() for disk in disks] | ||
| boot_disk = full_disks[0] # /boot only on first disk | ||
| root_disks = full_disks # / can be on all disks (RAID or not) | ||
| vmParser.args.host_disk = ",".join(full_disks) |
Contributor
There was a problem hiding this comment.
if we have given single disk is this work?
Contributor
Author
There was a problem hiding this comment.
When single disk, as of now install fails, since raid requires at least 2 disks.
As discussed if user specifies one disk then it will be considered as default 'plain' mode of install
Changes are in-progress.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ks file: http://10.40.71.8/powervmks/rhel/rhel-ae:e2:fd:10:0c:01.ks
log path : http://10.48.0.30//LOGS/installvm-20250609-072202.log
from lpar:
ks file: