Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

post installation user data script

I want to do some operation post installation of instance creation.

My requirement is like below:- 1. Change the node name 2. Add few entries in fstab 3. Assign user to the instance and restrict the access to others apart from assigned users. 4. Install few packages like "yum install ftp -y" 5. Mount volume automatically

I have tried few things like given below:-


runcmd: - [ yum install, "ftp", -O, /tmp/output.txt ]

But getting below error:- /usr/bin/cloud-init-per: line 56: echo This host is being configured, please wait > /etc/nologin: No such file or directory load shell environment ERROR loading dynamic configuration, using cached version: ('Connection aborted.', gaierror(-2, 'Name or service not known')) load /etc/eecloud/region.txt

Please help me to solve this as I am new to openstack.