#cloud-config

runcmd:
  - usermod -l admin ubuntu
  - groupmod -n admin ubuntu
  - usermod -d /home/admin -m admin
  - perl -pi -e "s/ubuntu/admin/g;" /etc/sudoers.d/90-cloud-init-users
  - docker run -d --name configurator -it -p 5672:5672 -p 8070:8080 configurator-docker
