1
I'm having lots of problems with my Ubuntu 10.04 in AWS and init scripts. I have my rc.local with some mounts, mkdirs & more but they don't do everything as expected, just a few of them and not always the same.
I'm learning puppet, but until I'll be prepared to get my machine remotely configured I'm trying to do something more ugly. I thought to do a cronjob every 3 minutes to configure all the system and save a flag file in my /dev/shm. When my instance get rebooted or something worse, this file will be deleted and my script will attempt to init the server again.
Do you have something more clever?
Thanks in advance!
1Why do you have mounts and mkdirs in rc.local scripts? What does "capture the system" mean? Please edit your question to make it more specific. What exactly are you trying to do? I get the impression you are making things much more complicated than necessary. – terdon – 2012-08-22T14:00:07.883