For example:
cctrl# cp /opt/openstack-ldoms/etc/controller_setup.conf.example /var/tmp/controller_setup.conf
Ensure that you assign passwords to the MY_ADMIN_PASSWORD and MY_SERVICE_PASSWORD variables.
########################################### # Which NIC for OpenStack management network? MNGT_NET=net0 # What is the IP of the OpenStack controller? CONTROLLER_IP=`ipadm|grep ${MNGT_NET}/v4|awk '{print $5}'|cut -f1 -d/` # What is the controller's shortname? CONTROLLER_SHORTNAME=`hostname` # Password for the admin user export MY_ADMIN_PASSWORD=password # Password for the service accounts and mysql export MY_SERVICE_PASSWORD=password # Zpool to be used for iSCSI LUNs export CINDER_ZPOOL=rpool # VLAN range to be allowed export VLAN_RANGE="1-4000" ###########################################
cctrl# /opt/openstack-ldoms/bin/create-demo-controller.sh /var/tmp/controller_setup.conf