netson / ubuntu-unattended

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

timezone has .. prefix #52

Closed lmckiwo closed 3 years ago

lmckiwo commented 4 years ago

this is because on my machine, the softlink is as follows: lrwxrwxrwx. 1 root root 38 Jan 14 09:01 /etc/localtime -> ../usr/share/zoneinfo/America/New_York

so this causes the default answer in the prompt to be as follows: please enter your preferred timezone: ..America/New_York

netson commented 3 years ago

I'm gonna close this issue, as it seems the sed command to fetch the timezone already fixes this. If not, please feel free to reopen! :-)