qnib / docker-pxe

DHCP server to provide boot via PXE
GNU General Public License v2.0
1 stars 2 forks source link

The error occurs when the directory is created. #1

Open minizx opened 9 years ago

minizx commented 9 years ago

The error occurs when the directory is created.

Source Code

RUN mkdir $ {BASEDIR} /tftp/pxelinux.cfg

Correction Code

RUN mkdir -p $ {BASEDIR} /tftp/pxelinux.cfg

Normal build, has confirmed that the application of a modified code.

ChristianKniep commented 9 years ago

Hey there,

I just pushed my old changes. I have to admit, that I changed it a couple of weeks ago while conducting a study in which I needed to reinstall my home server via kickstart. Therefore it should work, even though I am not able to try it out.

Would be cool if you could give it a spin. I even added a fig.yml:

$ cat fig.yml
pxe:
  image: qnib/pxe:latest
  hostname: pxe
  net: "host"
  volumes:
  - /repo:/data/repo
  - /tftp/:/data/tftp
  privileged: true
ChristianKniep commented 9 years ago

Sorry had to revert. Will push it tomorrow...