| === harlowja is now known as harlowja_away | ||
| === harlowja_away is now known as harlowja | ||
| smoser | harlowja, for the tox changes... | 20:51 |
|---|---|---|
| smoser | i want / need to be able to run 'make test' in package build | 20:51 |
| smoser | which doesn't have general access to inter-tubes | 20:51 |
| harlowja | smoser hmmm | 21:04 |
| harlowja | durn intertupes | 21:04 |
| harlowja | *tubes | 21:05 |
| astol | hi all, how do I tell cloud-init to run first boot commands again on next reboot? (ie reset first boot attribute) | 21:14 |
| smoser | astol, you can configure that in /etc/cloud/cloud.cfg | 21:23 |
| smoser | if you're just wanting '#!' things to run again, then you can change 'scripts_user' to be 'always' | 21:24 |
| smoser | - [scripts_user, always] | 21:24 |
| astol | smoser: I am building an ami base image and since I have already booted once, I need to somehow reset that flag | 21:44 |
| astol | so when I create instances again from that ami first boot sequence will be executed | 21:44 |
| astol | I don't need to run them always, just one more time | 21:45 |
| natorious | wouldn't deleting the /var/lib/cloud dir be what you want then? | 21:45 |
| astol | natorious: well that's kind of what I did, but this felt so crude I decided to ask | 21:46 |
| astol | natorious: I honestly scanned cloud-init sources for 15 minutes, but saw nothing (being a non-pythonista) | 21:47 |
| astol | so I just delete /var/lib/cloud and that's all? | 21:48 |
| smoser | astol, thats fine. you dont need to change anything. | 21:48 |
| smoser | it will do that by design. | 21:48 |
| smoser | the user-scripts run "per-instance" | 21:48 |
| smoser | and "per-instance" is "whenever an instance-id changes". | 21:48 |
| smoser | 'rm -Rf /var/lib/cloud' would suffice, but it is not necessary. | 21:49 |
| astol | smoser: wow! that's actually even more nice, thanks :) I wonder if I'm the only guy asking about that | 21:50 |
| smoser | pretty much its all supposed to "just work" :) | 21:52 |
| smoser | this is pretty cool, we moight have 2 more datasources sometime ssoon | 22:05 |
| smoser | GCE and cloud-sigma. | 22:06 |
| harlowja | smoser u forogot mine! :-P | 22:18 |
| harlowja | thats 3 | 22:18 |
| harlowja | ll | 22:18 |
| harlowja | *lol | 22:18 |
| === shardy is now known as shardy_afk | ||
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!