Skip to content

Commit

Permalink
Update boot.cfg for latest netboot version
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-stclair committed Jul 13, 2023
1 parent 2bc7dc7 commit 156f59a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ jobs:
wget $(curl https://api.github.com/repos/netbootxyz/netboot.xyz/releases/latest | grep "browser_" | grep menus.tar.gz | cut -d '"' -f4) -O menus.tar.gz
sudo tar -xzvf menus.tar.gz -C ./tmp
sudo rm -rf ./tmp/boot.cfg
sudo cp ./downstream/boot.cfg ./tmp/boot.cfg
sudo cp downstream/boot.cfg tmp/boot.cfg
sudo sed -i "s#&{NETBOOT_VERSION}#$(curl -s https://api.github.com/repos/netbootxyz/netboot.xyz/releases/latest | jq -r .tag_name)#g" tmp/boot.cfg
- name: Build and Push Dockerfile
id: docker_build
uses: docker/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion downstream/boot.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
set site_name netboot.xyz

# set boot domain
set boot_domain boot.netboot.xyz/2.0.68
set boot_domain boot.netboot.xyz/&{NETBOOT_VERSION}

# set location of memdisk
set memdisk http://${boot_domain}/memdisk
Expand Down
Binary file added menus.tar.gz
Binary file not shown.

0 comments on commit 156f59a

Please sign in to comment.