/srv/irclogs.ubuntu.com/2014/02/10/#cloud-init.txt

=== harlowja is now known as harlowja_away
=== harlowja_away is now known as harlowja
smoserharlowja, for the tox changes...20:51
smoseri want / need to be able to run 'make test' in package build20:51
smoserwhich doesn't have general access to inter-tubes20:51
harlowjasmoser hmmm21:04
harlowjadurn intertupes21:04
harlowja*tubes21:05
astolhi all, how do I tell cloud-init to run first boot commands again on next reboot? (ie reset first boot attribute) 21:14
smoserastol, you can configure that in /etc/cloud/cloud.cfg21:23
smoserif 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
astolsmoser: I am building an ami base image and since I have already booted once, I need to somehow reset that flag21:44
astolso when I create instances again from that ami first boot sequence will be executed21:44
astolI don't need to run them always, just one more time21:45
natoriouswouldn't deleting the /var/lib/cloud dir be what you want then?21:45
astolnatorious: well that's kind of what I did, but this felt so crude I decided to ask21:46
astolnatorious: I honestly scanned cloud-init sources for 15 minutes, but saw nothing (being a non-pythonista)21:47
astolso I just delete /var/lib/cloud and that's all?21:48
smoserastol, thats fine. you dont need to change anything.21:48
smoserit will do that by design.21:48
smoserthe user-scripts run "per-instance"21:48
smoserand "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
astolsmoser: wow! that's actually even more nice, thanks :) I wonder if I'm the only guy asking about that21:50
smoserpretty much its all supposed to "just work" :)21:52
smoserthis is pretty cool, we moight have 2 more datasources sometime ssoon22:05
smoserGCE and cloud-sigma.22:06
harlowjasmoser u forogot mine! :-P22:18
harlowjathats 322:18
harlowjall22:18
harlowja*lol22:18
=== shardy is now known as shardy_afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!