Running a script after unattended installation
chris at fourthandvine.com
Wed Nov 10 18:31:19 UTC 2010
On Wed, Nov 10, 2010 at 10:08 AM, Mark <mhullrich at gmail.com> wrote:
> On Wed, Nov 10, 2010 at 6:44 AM, Kai Renz <writemecas at googlemail.com> wrote:
>>> echo "test" >> /test.txt
> This will fail unless you have write privilege on / - try using /tmp.
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Which part is failing? When you reboot I take it the script doesn't
run, but does it make the modification to your rc.local? Is the script
you downloaded present in the root of the filesystem?
Also, I've only ever used wget's -O option to specify the output file
and location... you can try that if the problem is that your file
isn't being downloaded to the appropriate location.
More information about the ubuntu-users