[GH-ISSUE #596] Ensure the preseed/kickstart URL is valid before proceeding #185

Closed
opened 2026-02-27 14:50:45 +03:00 by kerem · 4 comments
Owner

Originally created by @orange888 on GitHub (Apr 8, 2020).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/596

Please check preseed/kickstart URL returning a code 200 before proceeding installation.
Thanks.

Originally created by @orange888 on GitHub (Apr 8, 2020). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/596 Please check preseed/kickstart URL returning a code 200 before proceeding installation. Thanks.
kerem 2026-02-27 14:50:45 +03:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 24, 2020):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:732531543 --> @github-actions[bot] commented on GitHub (Nov 24, 2020): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@orange888 commented on GitHub (Nov 25, 2020):

#!/bin/bash
URL=$1
curl --silent --head --location --output /dev/null --write-out '%{http_code}'  $URL | grep '^2'

And check the return code, $?, before preceeding.

<!-- gh-comment-id:733947839 --> @orange888 commented on GitHub (Nov 25, 2020): ``` #!/bin/bash URL=$1 curl --silent --head --location --output /dev/null --write-out '%{http_code}' $URL | grep '^2' ``` And check the return code, $?, before preceeding.
Author
Owner

@antonym commented on GitHub (Nov 25, 2020):

I'm open to the check if you know of a good way in iPXE to do so. That command as it stands can't be run in the iPXE code base.

<!-- gh-comment-id:733956998 --> @antonym commented on GitHub (Nov 25, 2020): I'm open to the check if you know of a good way in iPXE to do so. That command as it stands can't be run in the iPXE code base.
Author
Owner

@antonym commented on GitHub (Apr 14, 2021):

Closing as there's not really any good way to validate non iPXE files. If a method comes up, feel free to suggest.

<!-- gh-comment-id:819216025 --> @antonym commented on GitHub (Apr 14, 2021): Closing as there's not really any good way to validate non iPXE files. If a method comes up, feel free to suggest.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#185
No description provided.