netson / ubuntu-unattended

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

output to $HOME instead of /home/$USER #26

Closed notatoad closed 7 years ago

notatoad commented 7 years ago

if you run this from a root prompt, or as any other user whose home directory does not live at /home/$USER, it fails with the message "/home/root does not exist". Using the $HOME variable will prevent it from failing when the users home directory does not live at the expected path.

netson commented 7 years ago

Thanks for the PR! Merged 👍