Creating a cPanel Cloud Template
What is the current recommended way to create a cPanel template? We are looking for a way to reset all generated passwords and ip configurations on next firstboot so we don't have templates having the same passwords/ip conflicts. I can't seem to find any documentation on accomplishing this.
-
Hello :) Could you elaborate on the passwords and IP addresses you want to configure? For instance, are you generating accounts as part of the template? Thank you. 0 -
Hello :) Could you elaborate on the passwords and IP addresses you want to configure? For instance, are you generating accounts as part of the template? Thank you.
This will be an OpenStack VM template, a user will order one to be installed and all passwords and IP's regenerated based on the new server. I was thinking at least WHM/cPanel and SQL passwords need to be reset and any other passwords that might be stored somewhere.0 -
I was thinking at least WHM/cPanel and SQL passwords need to be reset and any other passwords that might be stored somewhere.
Most templates I've seen are created without any actual cPanel accounts. Are you referring to the root or MySQL root passwords? Note that you may find this feature request useful: Application Container Support Thank you.0 -
Most templates I've seen are created without any actual cPanel accounts. Are you referring to the root or MySQL root passwords? Note that you may find this feature request useful: Application Container Support Thank you.
Hello, Yes we need to reset the root and MySQL root password. In addition to these is there anything else that would need to be reset on first boot?0 -
We don't offer a guide on setting up an image or actual images, but the following images from Cloud Linux might help: Installation > VMware Images You may also want to vote for the feature request if you want to see something from cPanel directly. Thank you. 0 -
you just set up a simple Bash script @reboot and modify the things you need automatically It depends on your back-end/front-end and how it deploys for us the IP/hostname/root password all get set by the software we just customize some of the other stuff with bash IE: main shared IP 0 -
you just set up a simple Bash script @reboot and modify the things you need automatically It depends on your back-end/front-end and how it deploys for us the IP/hostname/root password all get set by the software we just customize some of the other stuff with bash IE: main shared IP
Hello, I see HOST/ADDR/ETHDEV in /etc/wwwacct.conf, are there any other files to modify? I have seen these commands to regenerate the configuration files post-configuration-update, are they still accurate? /scripts/rebuildhttpdconf /scripts/rebuildippool /usr/local/cpanel/bin/apache_conf_distiller "update0 -
only thing we modify in that file is the main shared ip but if your ethdev changes per deployment then yes ours stays eth0 or in the case of vz venet0:0 and run a /scripts/upcp --force 0
Please sign in to leave a comment.
Comments
8 comments