Prerequisite
To deploy a new user, you need its name and email.
Deploy one or several new users
- Connect the main server as root
- Go to
/home/VNC/dev
- Create a
users.csv
file that shoud look like :
firstname1 lastname1,email1
firstname2 lastname2,email2
- Run
./generate_instances.sh <host.fqdn> <num>
replacing<num>
by the number obtained at step 1. - A file
new_users.csv
has been generated, run:
cat new_users.csv | sed 's/[^,]*,\([^,]*\),\([^,]*\),\([^,]*\),\([^,]*\)$/\2|\1|\4/'
Notify the user
Once you are done and you have check that all new containers are working you can run /home/VNC/dev/sendpass.sh /home/VNC/dev/new_users.csv
to send a welcome mail to all new users.