Skip to content

cPholloway/test_gitlab_push

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

268 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

script to make changes to the OpenStack vms

please fork the repo and submit a pull request for any changes you'd like to see
or submit a TECH case with [VMS] in the subject

Usage: perl vm_setup.pl [options]

Description: Performs a number of functions to prepare VMs (on service.cpanel.ninja) for immediate use. 

Options: 
-------------- 
--force: Ignores previous run check
--fast: Skips all optional setup functions
--verbose: pretty self explanatory
--full: Passes yes to all optional setup functions
--installcl: Installs CloudLinux(can take a while and requires reboot)
--skipyum:  Skips installing yum packages
--skiphostname:  Skips setting the hostname
--hostname=$hostname:  allows user to provide a hostname for the system
--tier=$cpanel_tier:  allows user to provide a cPanel update tier for the server to be set to and enables daily updates
--bashurl=$URL_to_bash_file:  allows user to provide the URL to their own bashrc file rather than using the script's default one located at https://ssp.cpanel.net/aliases/aliases.txt
                              this option can be passed multiple times for more than one bashrc file and/or accept a ',' separated list as well.

Note: --skiphostname and --hostname=$hostname are mutually exclusive

Full list of things this does: 
-------------- 
- Installs common/useful packages
- Install the ea4-experimental repository and disables it
- Sets hostname
- Updates /var/cpanel/cpanel.config (Tweak Settings)
- Performs basic setup wizard
- Fixes /etc/hosts
- Fixes screen permissions
- Sets local mysql password to ensure mysql access
- Creates test account (with email and database)
- Disables cphulkd
- Creates api key
- Updates motd
- Sets unlimited bash history
- Creates /root/.bash_profile with helpful aliases
- Runs upcp (optional)
- Runs check_cpanel_rpms --fix (optional)
- Downloads and runs cldeploy (Installs CloudLinux) --installcl (optional)

About

testing project

Resources

License

Unknown, Unknown licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5