hi, thanks. but This is a nice working example of redhat's FAQ also has. What i'm looking to do is extend user-data to run some commands, or even better to call a shell script. I don't know if runcmd can do that. I'll keep googling for examples I guess, just thought i'd check here first.
,On Thu, Apr 14, 2016 at 4:13 PM, Karanbir Singh <mail-lists karan org> wrote:does this help :On 15/04/16 00:03, solarflow99 wrote:
> Not sure if this is a better question for cloud-init ML or not, i'm
> trying to find working examples of running commands in the user-data
> file. I noticed some commands don't work, it looks like it's because
> its being parsed as yaml and some characters cause problems with that.
> It would be nice if I could just call an external shell script, but so
> far I can't seem to do it. Does anyone have any better info on this?
>
>
https://github.com/kbsingh/atomic-ci/tree/master/tests/z_0-genConfigDrive
--
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc