~xiaofengw/cloud-init:xiaofengw-add-custom-script-option

Last commit made on 2019-09-10
Get this branch:
git clone -b xiaofengw-add-custom-script-option https://git.launchpad.net/~xiaofengw/cloud-init
Only Xiaofeng Wang can upload to this branch. If you are Xiaofeng Wang please log in for upload directions.

Branch merges

Branch information

Name:
xiaofengw-add-custom-script-option
Repository:
lp:~xiaofengw/cloud-init

Recent commits

68f7158... by Xiaofeng Wang

VMWware: add option into VMTools configuration to enable/disable custom script.

Fix the comments from Ryan.

c516af5... by Xiaofeng Wang

VMWware: add option into VMTools configuration to enable/disable custom script.

VMWware customization has already support to run a custom script during the VM
customization. We add this option so that VM administrator could prevent custom
 script to run, then the customization will fail and customization status is
set to GUESTCUST_ERROR_SCRIPT_DISABLED.

e253583... by Xiaofeng Wang

VMWware: add option into VMTools configuration to enable/disable custom script.

VMWware customization has already support to run a custom script during the VM
 customization. We add this option so that VM administrator could prevent custom
 script to run, then the customization will fail and customization status is set
 to GUESTCUST_ERROR_SCRIPT_DISABLED.

b4d3ac4... by Xiaofeng Wang

Address the review comments from Ryan.
Changes to be committed:
 modified: cloudinit/sources/DataSourceOVF.py
 modified: cloudinit/sources/helpers/vmware/imc/config_custom_script.py
 modified: tests/unittests/test_vmware/test_custom_script.py

2602a93... by Xiaofeng Wang

VMWare: Trigger the post customization script via cc_scripts module.

1. Since cloud-init doesn't need to reboot the VM, so add post customization script into rc.local won't
trigger the post customization script as we expected. With this update, the script is copied into
cc_scripts configuration dir and triggered by cc_scripts.
2. Remove the sh interpreter and execute the customization script directly.
3. Update the unit test.

Changes to be committed:
 modified: cloudinit/sources/helpers/vmware/imc/config_custom_script.py
 modified: tests/unittests/test_vmware/test_custom_script.py

385232d... by Joshua Powers

doc: document doc, create makefile and tox target

* Create makefile and tox targets for documentation building and testing
to better replicate the live web docs using the same theme.
* Created docs.rst to explain how to build and contribute to documentation
with style guide and tips.
* doc/rtd/conf.py:
    * Add copyright to rtd config
    * Use Sphinx's RTD theme to replicate actual docs

c768898... by Dan Watkins

.gitignore: ignore files produced by package builds

da826cd... by Joshua Powers

docs: fix whitespace, spelling, and line length

ff11c0c... by Joshua Powers

docs: remove unnecessary file in doc directory

e7881d5... by Ryan Harper

Oracle: Render secondary vnic IP and MTU values only

When rendering secondary vnic configuration from IMDS, only emit
configuration for the IP and MTU values only. Add support to mutate
either a v1 or a v2 network_config input.