morph027 / pve-iso-2-pxe

Create PXE bootable Proxmox installation
MIT License
408 stars 91 forks source link

Ubuntu 22.04.3 LTS error after tun script #40

Closed DimmoK closed 10 months ago

DimmoK commented 10 months ago

Hello! Sorryf or my bad English!

I use Ubuntu 22.04.3 LTS. I have iso proxmox-ve_8.0-2.iso

When I run script that I see this error:

bash pve-iso-2-pxe.sh /home/workadm/2023-08-24_Proxmox/proxmox-ve_8.0-2.iso
pve-iso-2-pxe.sh: line 2: $'\r': command not found

#########################################################################################################
# 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                                      #
#########################################################################################################

pve-iso-2-pxe.sh: line 14: $'\r': command not found
pve-iso-2-pxe.sh: line 25: syntax error near unexpected token `$'do\r''
've-iso-2-pxe.sh: line 25: `for ISO in *.iso; do
DimmoK commented 10 months ago

I'm sorry.

Problem was be in my OS.

Please remove this post!