gamename | Can cloud-init use python scripts? | 12:19 |
---|---|---|
Odd_Bloke | gamename: What do you mean by "use"? :) | 12:21 |
gamename | Odd_Bloke ah, ok. I mean, can a python script be used in place of, say, "instance/scripts/part-001" ? | 12:23 |
gamename | Odd_Bloke put another way, can "part-001" be a python script instead of a bash script? | 12:24 |
Odd_Bloke | gamename: Have you tried it? :p | 12:24 |
gamename | nevermind | 12:25 |
smoser | Odd_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 |
smoser | so something in 'import' from the stdlib is taking quite a while. | 16:12 |
Odd_Bloke | smoser: Hmm, interesting. | 16:13 |
Odd_Bloke | smoser: I assume you're going to find out which one it is next. :p | 16:16 |
smoser | Odd_Bloke, http://paste.ubuntu.com/16525270/ | 16:21 |
smoser | tempfile | 16:21 |
Odd_Bloke | smoser: tempfile has a "from random import Random as _Random", perhaps it's that? | 16:26 |
Odd_Bloke | smoser: And that import will create an instance of Random() as well. | 16:30 |
smoser | Odd_Bloke, yeah, i think thats it. added that import specifically | 16:30 |
smoser | and did that first | 16:31 |
smoser | and that took 14 seconds | 16:31 |
smoser | so 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_Bloke | I'll try poking doko and pitti intermittently to get it done. | 16:32 |
Odd_Bloke | But 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!