Comments (5)
Related RFC for Data URLs: https://tools.ietf.org/html/rfc2397
It doesn't appear to require a maximum data size, but does specify that some applications that use URLs may impose length limits, so it seems like there is flexibility here to provide limits.
AWS user-data is limited to 16KB, a similar limitation here might make sense.
from ipxe.
What kind of content do you have in mind, and what is the maximum data size that would need to be supported?
from ipxe.
I'm also exploring this data-uri concept from the other side at tinkerbell/smee#110.
from ipxe.
Equinix Metal (formerly Packet) offers a IPXEScriptURL parameter during device creation. I have a gist conversation at https://gist.github.com/displague/5282172449a83c7b83821f8f8333a072 where I have been exploring the capabilities of this feature.
The contents of the data-uri, in this case, would be additional configuration, for example:
dhcp net0
kernel https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/pre-release/latest-4.6/rhcos-live-kernel-x86_64 console=ttyS1,115200n8 initrd=rhcos-live-initramfs.x86_64.img coreos.live.rootfs_url=http://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/pre-release/latest-4.6/rhcos-live-rootfs.x86_64.img coreos.inst.install_dev=/dev/sda rd.net.timeout.carrier=30 coreos.inst.platform_id=packet
initrd https://mirror.openshift.com/pub/openshift-v4/x86_64/dependencies/rhcos/pre-release/latest-4.6/rhcos-live-initramfs.x86_64.img
boot
I don't know how large configurations like this typically get, in the gist I had several commented out lines and variable declarations that I've removed in this example.
1K seems like too little, does 4K seem sufficient? I can't imagine trying to shim binary images in as a data-uri.
Am I misrepresenting IPXE's role here? Is the existing HTTP support used for chaining additional configuration, or is it only used for pulling binary boot resources?
from ipxe.
You can chain into a different script yes: https://ipxe.org/cmd/chain
That is how the first script is loaded and executed, just that the chain is internal.
If you have a script, it would not make much sense to embed another script as data-uri
I could see a usage such as startnet.cmd
when using wimboot,
Or maybe chainloaded configurations for other kernels.
But not as an embeded script inside a script.
Size might be an issue, on different levels, not sure how IPXEScriptURL is done, but if it is in dhcp packet, then you have a somewhat to small limit there.
from ipxe.
Related Issues (20)
- ipxe and Intel I225-LM 2.5G controller HOT 1
- Feature Request: how about add github action Artifact to download ipxe test build HOT 3
- make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/ipxe.efi EMBED=boot.ipxe -C ipxe/src && cp ipxe/src/bin-x86_64-efi/ipxe.efi /var/lib/tftpboot/arm_uefi/ HOT 6
- make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/ipxe.efi EMBED=boot.ipxe -C ipxe/src && cp ipxe/src/bin-x86_64-efi/ipxe.efi /var/lib/tftpboot/arm_uefi/ HOT 1
- Issue with Mellanox CX4 seemingly caused by 8b14652 HOT 34
- 1.21.1 build error HOT 2
- Building latest ipxe efi HOT 4
- IPv6 DHCPv6 DUID-UUID Generation Issue with iPXE on QEMU 8.1.2 and SMBIOS 3.0 HOT 4
- Waiting for link-up on net0... Connection timed out HOT 5
- NETDEV net0 link is down HOT 10
- Can you add cipher HOT 1
- Latest commit 3fc1b40 fails to compile with GCC 8.3.1 on Centos 7.9. HOT 8
- add public ca certification error HOT 1
- Certificates issued by Digicert GeoTrust Cloud DV are not trusted HOT 6
- Unrecognised relocation type 22 in build in loong64 ! HOT 10
- Netboot Debian on a 2006 Xserve with iPXE
- Issue with 25 gigabit Intel 810 seemingly caused by cad1cc6 (100 gigabit driver) HOT 2
- Initial make fails HOT 4
- Windows11 to use iPXE have a error HOT 1
- iPXE unable to operate Intel 82599ES NIC in EFI mode HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipxe.