An add-on to the mPCC to enable it to provision ESXi servers
Project description
mprov_esxiprovisioner
This is an mPCC python module add-on that will allow the mPCC to provision ESXi vm server hosts.
Installation
To install this module you need to activate your mPCC python env:
# cd /var/www/mprov_control_center/
# . bin/activate
Then you need to install the pip package for this module.
# pip install mprov_esxiprovisioner
Once that is installed, you need to add a couple of things to your /var/www/mprov_control_center/mprov_control_center/settings.py
file.
First, look for the INSTALLED_APPS
array and add mprov_esxiprovisioner
to the end of the python array.
Second, look for the MIDDLEWARE
array and add mprov_esxiprovisioner.middleware.ESXiProvisionerMiddleware
to the beginning of that array.
Next, exit your editor and run touch /var/www/mprov_control_center/mprov_control_center/wsgi.py
to "restart" the wsgi application.
At the command prompt, run python /var/www/mprov_control_center/manage.py makemigrations mprov_esxiprovisioner
to create the necessary migrations for the plugin.
Once that completes, run python /var/www/mprov_control_center/manage.py migrate
to create the tables.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mprov_esxiprovisioner-0.0.3.tar.gz
.
File metadata
- Download URL: mprov_esxiprovisioner-0.0.3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f1ae78a6e87bdfe46c37a6071e4042133bed4903e82c235046af9b61d605ce0 |
|
MD5 | 48aa772909edc20122a8ef50584e1acb |
|
BLAKE2b-256 | 46240f49f08d6870d78870ca9da2efd4839f1f1959c1765addd600905fb5c1df |
File details
Details for the file mprov_esxiprovisioner-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: mprov_esxiprovisioner-0.0.3-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 822f540825fdbe57c43f945e929b0587302c4cc7dfdbcbdeecff8fabfa5a9f88 |
|
MD5 | 1742045799f1cdc87745d9af11e0d991 |
|
BLAKE2b-256 | 30261866aed013481b997e3fe025db34c3eb91066096825f4d450c7ab3565961 |