This message was deleted.
# general
s
This message was deleted.
l
Is this provider deprecated? The Config resource? I can't see anything in the code or the docs to suggest that it is...
b
use the
get
methods:
Copy code
cloudinit.getConfig
l
Will do. Should the message include that info?
Oo, the example in getConfig() refers to
async: true
.. that's all old and stuff, right?
@billowy-army-68599 I see your example uses runcmd's string variant. The docs I read say the list variant should also work, but I couldn't get working; cloudinit was creating /var/lib/cloud/instance/scripts/runcmd with every list item quoted:
Copy code
#!/bin/sh
'ls'
'cd' '/'
'echo' 'Hi' 'Lee'
And stuff like that. Is that a known issue? Did I create my runcmd lists incorrectly?
Copy code
runcmd: [
  [ "ls" ],
  [ "cd", "/" ],
  [ "echo", "Hi", "Lee" ]
]