Community discussions

MikroTik App
 
ahmoled
just joined
Topic Author
Posts: 1
Joined: Thu Mar 30, 2023 11:28 am

CHR deployment automation

Thu Mar 30, 2023 11:46 am

Hi, I am currently working on building a sort of private IaaS.
I want to deploy CHR images on VMWare vCenter using Python. The goal is to have the least amount of human interactions.
Using a website, a user has to click on a button "create a new mikrotik" and nothing else.

Deploying the image is simple, I can import the OVA. However, I have a problem with the first start-up because of the prompt for agreement and new password.
As I said, the goal is to have the least interactions, so I am trying to pass these prompts using a Python script.
I am also unable to ssh it without passing these prompts because it has no IP.

Do you have any idea ?
Thanks
 
xeonz
just joined
Posts: 24
Joined: Thu Jan 14, 2016 1:36 pm

Re: CHR deployment automation

Sat Apr 01, 2023 3:33 pm

Vmware Vcenter supports access to VM's console over API. I use power-cli but I guess you can use it in Python also.

Who is online

Users browsing this forum: No registered users and 9 guests