Page 1 of 1

CHR cloud-init  [SOLVED]

Posted: Fri Sep 27, 2019 7:00 am
by cdstg
I found a work around using the qemu agent to run scripts not perfect but its usable

I want to auto provision some CHR for our customers
I see that in the docs there is mention of AWS and GCloud there when it comes to auto provsioning

eg I want to be able to at least set and IP address on an interface so I can get access via the API and then I can finish the config off
any ideas how to do that
so that at least at first boot the IP address will be set on the lan interface


Re: CHR cloud-init

Posted: Wed Oct 09, 2019 12:06 pm
by tangram
Just add your comments to user data. This is a snippet from cloudformation:

!Sub |
/system identity set name=gw1

Re: CHR cloud-init

Posted: Wed Oct 09, 2019 2:23 pm
by cdstg
Thanks for that tip so they are calling cloudformation API

I wonder if that is some custom thing they have in there code anyway its a start thanks