Community discussions

MikroTik App
 
cdstg
just joined
Topic Author
Posts: 10
Joined: Thu Sep 12, 2019 4:15 am

CHR cloud-init  [SOLVED]

Fri Sep 27, 2019 7:00 am

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

thanks
 
tangram
Member Candidate
Member Candidate
Posts: 132
Joined: Wed Nov 16, 2016 9:55 pm

Re: CHR cloud-init

Wed Oct 09, 2019 12:06 pm

Just add your comments to user data. This is a snippet from cloudformation:

UserData:
Fn::Base64:
!Sub |
/system identity set name=gw1
 
cdstg
just joined
Topic Author
Posts: 10
Joined: Thu Sep 12, 2019 4:15 am

Re: CHR cloud-init

Wed Oct 09, 2019 2:23 pm

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

Who is online

Users browsing this forum: No registered users and 17 guests