-
Notifications
You must be signed in to change notification settings - Fork 183
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
dom0_kernel_installer: generate initramfs and use PARTUUID #3690
base: main
Are you sure you want to change the base?
Conversation
shell=True, | ||
expected_exit_code=0, | ||
).stdout.strip() | ||
partuuid = node.execute( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can lsblk tool do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, lsblk tool does not fetch UUID and PARTUUID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change lsblk to fetch the IDs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed lsblk tool fetch UUID and PARTUUID
Fetch UUID for disks and UUID,PARTUUID for partitions. Also, add find_partition_by_mountpoint.
Using older initramfs does not work anymore as there are some kernel module dependencies. Hence, generate a new one. Also, replace UUID with PARTUUID since initramfs fails to understand the UUID. While at it, update validate() method to check if node's os is Mariner.
Using older initramfs does not work anymore as there are some kernel module dependencies. Hence, generate a new one. Also, replace UUID with PARTUUID since initramfs fails to understand the UUID.
While at it, update validate() method to check if node's os is Mariner.