netson / ubuntu-unattended

Script to create unattended Ubuntu ISO
MIT License
370 stars 185 forks source link

Repair pls. -"grep -w DIR |" #59

Closed deviantdev closed 4 years ago

deviantdev commented 4 years ago

https://github.com/netson/ubuntu-unattended/blob/204dbfac2ef773fe78aaaac9e40f33e6c776a655/create-unattended-iso.sh#L86

for version in $(wget -qO - http://cdimage.ubuntu.com/releases/ | grep -w DIR | grep -oP href=\"[0-9].* | cut -d'"' -f2 | tr -d '/'); do

to

for version in $(wget -qO - http://cdimage.ubuntu.com/releases/ | grep -oP href=\"[0-9].* | cut -d'"' -f2 | tr -d '/'); do

lmckiwo commented 4 years ago

Thanks for the fix. I will do a pull requests in a couple of hours.

lmckiwo commented 4 years ago

Please close issue.