Giter Site home page Giter Site logo

Comments (4)

antonym avatar antonym commented on July 23, 2024 1

you need to build your own to use custom as this is disabled by default

@ikkemaniac Is there a specific reason why it is disabled while custom_github_menus is enabled?

I would like to use this tool in a local environment (without permanent available network access) where building images or direct filesystem access is not possible.

custom_github_menus is used when a GitHub user is set from the Utility menu or at local-vars.ipxe so that a menu can be loaded from GitHub directly:

https://github.com/netbootxyz/netboot.xyz/blob/development/roles/netbootxyz/templates/menu/utils-pcbios-64.ipxe.j2#L78

from docker-netbootxyz.

ikkemaniac avatar ikkemaniac commented on July 23, 2024

Just ran into this myself.
On the build flag custom_generate_menus: false, yes you are RIGHT about the workings. But it is explained in the documentation that you need to build your own to use custom as this is disabled by default:
https://github.com/netbootxyz/netboot.xyz/blob/43e2f303def858974f47160e1b657385477e7a9f/etc/netbootxyz/custom/README.md

On the custom/custom.ipxe, you are "wrong", you can set this dir by var custom_templates_dir. The default is xxx/custom, this is explained in the documentation:
https://github.com/netbootxyz/netboot.xyz/blob/43e2f303def858974f47160e1b657385477e7a9f/etc/netbootxyz/custom/README.md

You can set that location to whatever you want. just keep in mind that this is NOT the same as going to the web interface and creating a new ipxe file that you name custom.ipxe

A simple cheat for all this is to set the custom_url var in boot.cfg (note that you need to include the filename if it's not custom.ipxe)
set custom_url http://${boot_domain}
or
set custom_url http://${boot_domain}/fancy_name.ipxe

from docker-netbootxyz.

Kipjr avatar Kipjr commented on July 23, 2024

you need to build your own to use custom as this is disabled by default

@ikkemaniac
Is there a specific reason why it is disabled while custom_github_menus is enabled?

I would like to use this tool in a local environment (without permanent available network access) where building images or direct filesystem access is not possible.

from docker-netbootxyz.

ikkemaniac avatar ikkemaniac commented on July 23, 2024

you need to build your own to use custom as this is disabled by default

@ikkemaniac Is there a specific reason why it is disabled while custom_github_menus is enabled?

I would like to use this tool in a local environment (without permanent available network access) where building images or direct filesystem access is not possible.

No freaking clue. Note that i'm not affiliated with this project.

I'd just build a custom ipxe to your liking on your favorite machine and copy that to your environment. Or use the custom_url.

from docker-netbootxyz.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.