group-based-policy/gbpservice/contrib/nfp/tools/image_builder/configurator_user_data
Ashutosh Mishra 6af519ae9e NFP - Devstack and build enhancements
This changeset contains the changes in devstack installation,
NFP tools, and NFP integration test in gate to support,
(1) single ini file changes.
(2) LBaaS V2 service configuration.
(3) Daemonizing the processes in the controller.
(4) APIC specific configuration in setup script.
(5) NFP controller default user 'ubuntu' changed to 'admin'

Change-Id: Ifdce8d876728e1424a6ca292b262b35f5574a40b
2016-11-01 21:48:15 +00:00

9 lines
275 B
Plaintext

#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