-
-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PXE Not booting, what is the default bios filename to boot? #17
Comments
I'm not sure on the question, I use the second option in the docs, can you provide some more logs and/or screenshots please? For example:
|
I guess the question is, how do the node machines know where the temp PXE server is on my desktop? At the moment they find the PXE server, but they error that there is no image / menu to boot and repeat. ./scripts/pxe-logs gives me the error 'unknown flag: --project-directory', so I guess I am missing something obvious :) |
The DHCP config will point the nodes to the temp PXE server (which is the same PC you're running Ansible on): homelab/metal/roles/pxe_server/templates/dhcpd.conf.j2 Lines 12 to 14 in 8b31c9e
You can check the rendered DHCP config in this path:
|
Oh that's a bug due to this commit: 40523e6 The Ansible role use Docker Compose v1 (see ansible-collections/community.docker#216), but the |
Done, please pull latest master and try again |
I guess the critical missing info, is that I am trying to use four vm's on proxmox for the 4 physical machines and maybe confusing the issue here. I will have a read on ansible pxe boot :) |
Ah if you're using VMs just use a Rocky Linux 8 image and ignore the Lines 15 to 18 in 7e21741
|
Some configuration to note on the base image: homelab/metal/roles/pxe_server/templates/kickstart.ks.j2 Lines 37 to 49 in 7e21741
|
I was hoping your setup could create and configure the nodes for me via pxe with minimal config of the vm. What would the local pxe server be presenting to the nodes eg tftp://192.168.1.94/ |
My rendered DHCP config looks like this: subnet 192.168.1.0 netmask 255.255.255.0 {
option routers 192.168.1.1;
range 192.168.1.2 192.168.1.254;
class "pxeclients" {
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
next-server 192.168.1.9;
if option architecture-type = 00:07 {
filename "grubx64.efi";
}
}
} The packages will be downloaded via the HTTP server (http://192.168.1.9) |
It looks like this setup is creating a dhcp server itself to configure the physical machines, is that correct? I am getting an 'Access denied' when my vm's try to access the pxe server, but they are looking at my opnsense dhcp server for the details. |
…from renovate/all-minor-patch into master Reviewed-on: https://git.zanelab.com/ops/homelab/pulls/17
…oan#17) from renovate/all-minor-patch into master Reviewed-on: https://git.zanelab.com/zhala/homelab/pulls/17
…from renovate/all-minor-patch into master Reviewed-on: https://git.qos.cc/ops/homelab/pulls/17
Thanks for sharing your config :)
I wondered what the default boot image menu is for the pxe server you are using, as I cannot get the machines to see the default menu / boot image for pxe.
Thanks
The text was updated successfully, but these errors were encountered: