-
Notifications
You must be signed in to change notification settings - Fork 93
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
Give clearer error message when ISO file is not complete #869
Comments
I think one of the base issues is that |
Hmm, actually another simpler check we can do upfront is to just get the offset of the last file in the ISO and verify that |
Yes, I was thinking we could do a basic "is this file large enough?" check to quickly root out such issues. |
Related: #644 If |
Yes, it is. |
Bug
Misleading error message when using not fully downloaded rhcos ISO image.
I haven't download the image fully, it's only 512M size. When I'm running
coreos-installer iso kargs modify -a "ip=dhcp"
command on this ISO, I get the message:Host Operating System Version
RHEL 8.2
Target Operating System Version
coreos-installer Version
0.14, 0.11
Expected Behavior
Message about
Error: reading kargs embed area
Actual Behavior
Probably would be better to detect that the image is wrong and can't be modified.
Reproduction Steps
Start download ISO of RHCOS, stop it in the middle and run the command:
$ coreos-installer iso kargs modify -a "ip=dhcp" rhcos-411.85.202205101201-0-live.x86_64.iso
Other Information
The text was updated successfully, but these errors were encountered: