OpenMediaVault-Plugin-Developers / openmediavault-pxe

OpenMediaVault plugin for PXE
20 stars 2 forks source link

a couple issues I have found #1

Open i7wasn7m3 opened 10 years ago

i7wasn7m3 commented 10 years ago

I would like to say this has made it very easy to setup a pxe server. so thank you!

i found that the pxelinux.cfg folder doesn't get created in the shared folder selected in the settings tab of the GUI. But it does get created in the parent directory of the selected share( e.g. networkboot instead of networkboot/pxe) also there is a typo in the creation of pxelinux.cfg. it creates it as pxepxelinux.cfg instead of pxelinux.cfg.

these are the only issues I have had with this plugin.

davidh2k commented 10 years ago

I reviewed the code and made some test in a VM. I can not reproduce both issues in a test VM. See: http://pastebin.com/QQPaUx3e

The VM was a fresh clone, pxe was installed, filesystem created, shared folder added, shared folder added in pxe plugin and entry for pxe was generated.

Can you provide any additional Information?

Greetings David

davidh2k commented 10 years ago

I also checked if it may be related to spaces in the shared folder name but this does not cause this issue either. (Tip from Aaron)

http://pastebin.com/dJAHFwG4

Greetings David

i7wasn7m3 commented 10 years ago

I just replicated it in a clean install of Kralizec in a vm.

I might of not been clear before, But I'm using the folder pxe inside of the folder networkboot as my shared folder. so it would be "/media/3aab6191-cbb1-41b9-acb5-6bd714d74de8/networkboot/pxe". see: http://pastebin.com/v9KFqw3i also http://imgur.com/y7DfTNN

I do have to say it does work as it should with a single folder named pxe as a shared folder. But once I make a two level folder shared folder, it acts weird.

It also still names the folder pxepxelinux.cfg which seems connected with the two level folder shared folder I'm using above.

Thanks for the reply

davidh2k commented 10 years ago

Can you explain why you want it to be in an extra subfolder?

Greetings David

davidh2k commented 10 years ago

I changed the code, can you build from git please and tell me if that works for you?