Ideeen opgedaan met:
- https://hub.docker.com/r/dreamcat4/pxe
- https://github.com/dreamcat4/docker-images/blob/master/pxe/Dockerfile
- https://centos.pkgs.org/8/centos-appstream-aarch64/ipxe-bootimgs-20181214-5.git133f4c47.el8.noarch.rpm.html
- https://github.com/dreamcat4/docker-images/blob/master/nginx/Dockerfile
- https://blog.n0dy.radio/2014/09/14/network-booting-with-dnsmasq-in-proxy-mode/
- https://stackoverflow.com/questions/37419042/container-command-start-sh-not-found-or-does-not-exist-entrypoint-to-contain
- https://www.cyberciti.biz/faq/how-to-use-sed-to-find-and-replace-text-in-files-in-linux-unix-shell/
- https://zhu45.org/posts/2016/Dec/21/environment-variable-substitution-using-sed/
- https://nl.wikipedia.org/wiki/TCP-_en_UDP-poorten#Vaak_gebruikte_poorten
- https://centos.pkgs.org/7/centos-aarch64/ipxe-bootimgs-20180825-2.git133f4c.el7.noarch.rpm.html
- https://docs.openstack.org/ironic/latest/install/configure-pxe.html
- https://serverfault.com/questions/829068/trouble-with-dnsmasq-dhcp-proxy-pxe-for-uefi-clients
- https://github.com/bradgillap/IPXEBOOT/blob/master/boot.ipxe
- https://ipxe.org/buildcfg/console_cmd (met console)
- https://ipxe.org/download (compile)
- https://github.com/ipxe/ipxe/releases <- 1.20.1 = 8f1514a
- https://github.com/bradgillap/IPXEBOOT
- https://ropenscilabs.github.io/r-docker-tutorial/04-Dockerhub.html
- https://ipxe.org/cmd
- https://www.redpill-linpro.com/sysadvent/2017/12/13/ipxe-provisioning.html
- https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-mount-and-customize#addwallpaper
dism /Cleanup-Mountpoints
pip install python-jenkins
Handmatig bouwen:
docker build -t opvolger/pxe:latest . --build-arg GIT_HASH=988d2c13cdf0f0b4140685af35ced70ac5b3283c --build-arg WIMBOOT_VERSION=2.6.0
Het inrichten van jenkins-server en slaves
cd jenkins_build_jobs
# create docker-compose for jenkins-server and slave (docker)
ansible-playbook playbook_create_jenkins_compose.yaml -i inventory.yaml --vault-id thuis@~/vault-thuis.txt -vv
cd ..
docker compose up
Als je al een buildserver hebt met een slave "docker" en "ansible" of niet uitgevoerd hier boven.
cd jenkins_build_jobs
# configure jenkins add-slave auth. + don't allow anonymous login
ansible-playbook playbook_configure_jenkins.yaml -i inventory.yaml --vault-id thuis@~/vault-thuis.txt -vv
# configure jobs
ansible-playbook playbook_configure_jenkins_jobs.yaml -i inventory.yaml --vault-id thuis@~/vault-thuis.txt -vv
ansible-playbook playbook_create_wimboot_files.yaml -i inventories/default.yaml -i inventories/thuis --vault-id thuis@~/vault-thuis.txt --ask-become-pass --ask-pass
ansible-vault encrypt_string --vault-id thuis@~/vault-thuis.txt
ansible-playbook playbook_update_docker_files.yaml -i inventories/default.yaml -i inventories/thuis --vault-id thuis@~/vault-thuis.txt --ask-become-pass --ask-pass
ansible-playbook playbook_deploy.yaml -i inventories/default.yaml -i inventories/thuis --vault-id thuis@~/vault-thuis.txt --ask-become-pass --ask-pass
ipxe
git clone git://git.ipxe.org/ipxe.git
cd ipxe/src
make
make bin/undionly.kpxe
make bin-x86_64-efi/ipxe.efi
docker push
docker login --username opvolger --password *************
docker push opvolger/pxe
- NFS server in docker
- VMware: https://ipxe.org/howto/vmware
- uitpakken iso op samba / nfs share
- niet uitpakken winpe.zip als hij er niet is... (alleen linux boot menu)