mirror of
https://github.com/netbootxyz/netboot.xyz.git
synced 2026-01-23 02:34:26 +00:00
Clear vars on branch testing
This commit is contained in:
parent
89cc2c95fb
commit
0dd7bb2430
1 changed files with 3 additions and 1 deletions
|
|
@ -59,13 +59,15 @@ boot
|
|||
goto utils_exit
|
||||
|
||||
:testpr
|
||||
clear github_user
|
||||
clear github_hash
|
||||
echo This will chainload into a testing branch of netboot.xyz. You'll need to enter
|
||||
echo your Github User and the first part of the commit hash of the commit you want
|
||||
echo to test or the branch name. This assumes you are testing from a netboot.xyz
|
||||
echo repo.
|
||||
echo
|
||||
echo -n Specify Github User Name: ${} && read github_user
|
||||
echo -n Specify branch name or shortened commit hash ( i.e. my_feature or 30b7ca ): ${} && read github_hash
|
||||
echo -n Specify branch name or hash ( i.e. my_feature or 30b7ca ): ${} && read github_hash
|
||||
echo
|
||||
echo Attempting to chainload:
|
||||
chain --autofree https://raw.githubusercontent.com/${github_user}/netboot.xyz/${github_hash}/src/menu.ipxe || echo Unable to find branch... && sleep 5 && goto utils_exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue