MayankTahil / rancheros-pxe-bootstrap

Simple HTTPd website hosting cloud init files for Rancher OS PXE booting.
28 stars 5 forks source link

COPY ./netboot fails #1

Open chelming opened 4 years ago

chelming commented 4 years ago

There's no netboot folder for ipxe. What am I missing?

MayankTahil commented 4 years ago

I think the example directory needs to be renamed or dockerfile needs updating but the files for TFTP for example are in that directory. I havn't touched this project in over a year so it's me just guessing.

Sent via clumbsy thumbs

Mayank Tahilramani

On Wed, Aug 14, 2019, 4:40 PM Chris Helming notifications@github.com wrote:

There's no netboot folder for ipxe. What am I missing?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MayankTahil/rancheros-pxe-bootstrap/issues/1?email_source=notifications&email_token=AE4DSFKNKEBXPQN7PQRKX63QERUU3A5CNFSM4ILYX5YKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HFJT7VQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AE4DSFPR7WXLNNHG4SYPAY3QERUU3ANCNFSM4ILYX5YA .

chelming commented 4 years ago

I think the installer.pxe needs to be built, right? I don't think I can just tftp serve up that file and run it. (I literally have never touched ipxe before today)

chelming commented 4 years ago

yeah, I had to compile (?) the installer.pxe to get it to work: docker run -it -v $(pwd)/ipxe/netboot:/custom-pxe -e PXE_FILE=installer.pxe vtajzich/ipxe and use the resulting undionly.kpxe

jhughes2112 commented 4 years ago

Is there any reason to do the COPY command in the Dockerfile at all, is there, since the docker-compose.yaml mounts a folder over it anyway? The host mounted folder hides whatever was in the docker image, so I imagine it would be sufficient to put the built .pxe file in there on the host.

Thanks to you both for the clues to putting this together, btw.