How to use EasyEngine with runcmd?


#1

Hi,

I am a little new with using cloud-config and runcmd for auto server deployment. How can I keep a deploy going by returning the username and email that easyengine asks for during set up?

i.e.

#cloud-config
runcmd
  - wget -qO ee rt.cx/ee && sudo bash ee
  - WHAT TO DO HERE TO ADD USERNAME
  - AND HERE TO ADD EMAIL

I am trying to automate DigitalOcean droplet deploys with their API but the easyengine install fails because those variable are not being passed.

Thnx for your help.


#2

@Jason_Kennedy

sudo echo -e "[user]\n\tname = abc\n\temail = root@localhost.com" > ~/.gitconfig

Refer: https://github.com/rtCamp/easyengine/blob/master/.travis.yml#L25

Note: replace Name and email in above code


#3

Hi @Jason_Kennedy

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#4