Homelab PXE Server iVentoy

本文最后更新于:2024年8月9日 晚上

What is iVentoy

https://www.iventoy.com/en/index.html

  • iVentoy is an enhanced version of the PXE server.
  • With iVentoy you can boot and install OS on multiple machines at the same time through the network.
  • iVentoy is extremely easy to use, without complicated configuration, just put the ISO file in the specified location and select PXE boot in the client machine.
  • iVentoy supports x86 Legacy BIOS, IA32 UEFI, x86_64 UEFI and ARM64 UEFI mode at the same time.
  • iVentoy support 110+ common types of OS (Windows/WinPE/Linux/VMware) (list)。

Let’s get started

Docker version

  • Docker-cli

    1
    2
    3
    4
    5
    docker run -d --name=iventoy --net=host \
    -v /opt/iventoy/data::/PXE/data \
    -v /opt/iventoy/user:PXE/user \
    -v /data/pxeiso:/PXE/iso \
    --privileged=true amilys/iventoy:latest
  • Docker-compose

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    # 启动后通过http://x.x.x.x:26000 来访问软件界面
    # DHCP : External 模式的使用场景是 iVentoy 和第三方的DHCP Server位于同一个局域网内
    # DHCP: ExternalNet 模式的使用场景是 iVentoy 和第三方的DHCP Server位于不同的局域网内
    # PVE安装Windows时网卡模型,请选E1000
    ---
    version: "3.8"
    services:
    iventoy:
    container_name: iventoy
    network_mode: host
    volumes:
    - /opt/iventoy/data:/PXE/data
    - /opt/iventoy/user:/PXE/user
    - /data/pxeiso:/PXE/iso
    privileged: true
    image: amilys/iventoy:latest
  • Setup

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    [root@home /opt/iventoy]# docker-compose up -d
    WARN[0000] /opt/iventoy/docker-compose.yml: `version` is obsolete
    [+] Running 1/1
    ✔ Container iventoy Started
    [root@home /opt/iventoy]# ll /data/pxeiso/
    total 21626580
    -rwxr--r-- 1 root root 1595277312 May 24 09:50 Atlas_v0.5.2.iso
    -rwxr--r-- 1 root root 2459566080 May 24 09:53 Fedora-Server-dvd-x86_64-37-1.7.iso
    -rwxr--r-- 1 root root 930957312 May 24 09:49 FirPE-V1.9.1.iso
    -rwxr--r-- 1 root root 6933184512 May 24 09:53 kali-linux-2023.3-installer-everything-amd64.iso
    -rwxr--r-- 1 root root 3744464896 May 24 09:53 openEuler-22.03-LTS-SP1-x86_64-dvd.iso
    -rwxr--r-- 1 root root 6482165760 May 24 09:50 windows11-customized.iso

Initial configuration

<<<<<<< HEAD
image-20240524111511421

image-20240524111547467

image-20240524111612358

image-20240524111732417

image-20240524104554676

image-20240524104537612

image-20240524104615881

image-20240524105534628

image-20240524105557332

cloud

Conclusion

iVentoy VS ipxe : I think it is very easy to configure and setup.


Homelab PXE Server iVentoy
https://git.msft.vip/2024/05/24-Homelab-PXE-Server-iVentoy/
作者
Jas0n0ss
发布于
2024年5月24日
更新于
2024年8月9日
许可协议