$ cd /tmp
$ git clone https://github.com/morph027/pve-iso-2-pxe
Cloning into 'pve-iso-2-pxe'...
remote: Counting objects: 41, done.
remote: Total 41 (delta 0), reused 0 (delta 0), pack-reused 41
Unpacking objects: 100% (41/41), done.
Checking connectivity... done.
$ cd pve-iso-2-pxe/
$ cp ~/Downloads/proxmox-ve_4.4-eb2d6f1e-2.iso .
$ sudo ./pve-iso-2-pxe.sh .
[sudo] password for ########:
#########################################################################################################
# Create PXE bootable Proxmox image including ISO #
# #
# Author: mrballcb @ Proxmox Forum (06-12-2012) #
# Thread: http://forum.proxmox.com/threads/8484-Proxmox-installation-via-PXE-solution?p=55985#post55985 #
# Modified: morph027 @ Proxmox Forum (23-02-2015) to work with 3.4 #
#########################################################################################################
Using proxmox-ve_4.4-eb2d6f1e-2.iso...
Mounting iso image...
copying kernel...
copying initrd...
Unmounted iso, extracting contents of initrd...
Added iso, creating and compressing the new initrd...
/tmp/pve-iso-2-pxe/pxeboot /tmp/pve-iso-2-pxe /tmp/pve-iso-2-pxe
Cleaning up temp files...
Done! Look in /tmp/pve-iso-2-pxe/pxeboot for pxeboot files.
/tmp/pve-iso-2-pxe /tmp/pve-iso-2-pxe
/tmp/pve-iso-2-pxe