/srv/irclogs.ubuntu.com/2016/05/20/#cloud-init.txt

gamenameCan cloud-init use python scripts?12:19
Odd_Blokegamename: What do you mean by "use"? :)12:21
gamenameOdd_Bloke ah, ok.  I mean, can a python script be used in place of, say, "instance/scripts/part-001" ?12:23
gamenameOdd_Bloke put another way, can "part-001" be a python script instead of a bash script?12:24
Odd_Blokegamename: Have you tried it? :p12:24
gamenamenevermind12:25
smoserOdd_Bloke, /usr/bin/cloud-init: http://paste.ubuntu.com/16524951/16:11
smoser /run/cloud-init/main.log: http://paste.ubuntu.com/16524970/16:12
smoserso something in 'import' from the stdlib is taking quite a while.16:12
Odd_Blokesmoser: Hmm, interesting.16:13
Odd_Blokesmoser: I assume you're going to find out which one it is next. :p16:16
smoserOdd_Bloke, http://paste.ubuntu.com/16525270/16:21
smosertempfile16:21
Odd_Blokesmoser: tempfile has a "from random import Random as _Random", perhaps it's that?16:26
Odd_Blokesmoser: And that import will create an instance of Random() as well.16:30
smoserOdd_Bloke, yeah, i think thats it. added that import specifically16:30
smoserand did that first16:31
smoserand that took 14 seconds16:31
smoserso this really sucks, and i'd appreciate you driving a solution if you wanted :) but i think i need to be done with it at this point.16:31
Odd_BlokeI'll try poking doko and pitti intermittently to get it done.16:32
Odd_BlokeBut we also don't really have the time. ;.;16:32
=== nacc is now known as Guest64822
=== nacc_ is now known as nacc

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