cmdline: Provide dest_device when using iso/pxe customize#1480
cmdline: Provide dest_device when using iso/pxe customize#1480duyiwei7w wants to merge 1 commit intocoreos:mainfrom
Conversation
|
Kernel arguments can also be used to specify the destination device ( How about instead as soon as any |
|
Thank you for your suggestion @jlebon . As far as I know, if we use So I want to make as little modification as possible in customize, and keep the behavior basically consistent with the coreos-installer install concept. That is, the user is required to enter |
|
Also, as you said, if the user enters any In other words, we may need to parse all the customize parameters entered by the user again to confirm that they have not been passed to the destination device before printing the prompt. In fact, it is better to directly ask the user to use - |
|
We need to be flexible in how the ISO can be used. For example, you can imagine someone providing a pre-customized ISO/PXE initramfs to a user, with the understanding that the user will customize it further with the actual destination device (or e.g. add the needed karg in their PXE config). But note also that the |
During the execution of coreos-installer install, users are required to provide dest-device through parameters or config file. However, when executing iso/pxe customize, it is not necessary to provide dest-device to successfully execute customize. This will obviously result in errors when using a customized image for installation. Some previous discussions can be found at:
#1469
This modification unifies the behavior of the customize command and the install command during the image install phase, requiring users to provide dest-device through parameters or config files.