-
Notifications
You must be signed in to change notification settings - Fork 156
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
How can I pass the disk name dynamically to the rd.kiwi.oem.installdevice #2679
Comments
Can anyone help me on this? |
If you know the install device name and want to hard set it in your installation ISO image, the following should work <type ... kernelcmdline="rd.kiwi.oem.installdevice=/dev/sda"/> This will set the kernel boot option also for the install ISO |
Hi @schaefi , I wanted a harmonized ISO for the systems with /dev/sda and /dev/nvme0 HDD. And also wanted to perform the unattended installation. In can if the systems has multiple disk, it can prompt for formatting/cleaning the disk. Regards, |
The part I do not understand is how you want to achieve the process being unattended when there are multiple disks that you want to cleanup based on a prompt ? I'm confused. Maybe you can outline the expected behavior for the multi-disk scenario more detailed ? Thanks Please also note you are talking mostly about device names like /dev/sda or /dev/nvme0. These names are non predictable unix node names and cannot be trusted to be the same between reboots. Your same disk device that was /dev/sda could be mapped to /dev/sdb by the kernel. That's why kiwi works with persistent device names e.g /dev/disk/by-id/... and the selection mechanics of multiple devices are based on these names. In the code to build up the list of disks you will find the following
Only in case there is no persistent representation of the unix node we use the raw unix node in the list. A persistent device name could be e.g
A filter rule could match on elements of this names and that can reduce the list of disk devices the system should work with. |
Problem description
When I remove the rd.kiwi.oem.installdevice=/dev/sda, I cannot install it unattended on my hardware. I also understand that is the expected behaviour.
Can we set the variable manually s 1)oem-device-filter, 2)oem-unattended-id 3) rd.kiwi.oem.maxdisk
so that still I can have the same behaviour of unattended installation
Expected behaviour
I wanted to either kernel pick up the disk automatically and install the OS without human intervention.
Steps to reproduce the behaviour
OS and Software information
SUSE Micro OS 5.5
The text was updated successfully, but these errors were encountered: