~xiaofengw/cloud-init:xiaofengw-fix-post-script

Last commit made on 2019-06-20
Get this branch:
git clone -b xiaofengw-fix-post-script 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-fix-post-script
Repository:
lp:~xiaofengw/cloud-init

Recent commits

5e1dac2... by Xiaofeng Wang

Address comments to move variable definition to the begining

ecac298... 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

d9e0b4e... 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

deaeb71... by Mark T. Voelker

Allow identification of OpenStack by Asset Tag

When OpenStack is deployed on some hypervisors (such as VMware
vSphere), cloud-init doesn't detect that it needs to probe the
metadata service because the DMI product name field can't be set
to a field that is recognized by cloud-init. However, the asset
tag field can be set via flavor extra specs or image metadata.
A similar approach is already used to identify Open Telekom Cloud.

This patch allows cloud init to recognize "OpenStack Nova" or
"OpenStack Compute" in the asset tag field as an indication that
the instance being configured is running on an OpenStack platform.

LP: #1669875

c3cd42c... by Brian Murray

Fix spelling error making 'an Ubuntu' consistent.

19ddb1f... by Paride Legovini

run-container: centos: comment out the repo mirrorlist

In this way only the 'baseurl' mirror is used, which is easier
to allow through firewalls and proxies.

ded1ec8... by Ryan Harper

netplan: update netplan key mappings for gratuitous-arp

Previous versions of netplan included a misspelling for the
bond parameter around gratuitous-arp. This has been fixed and released
and cloud-init needs to accept both values. This branch fixes the
key that will be rendered and transforms the previous misspelling
when capturing network_state.

LP: #1827238

c951963... by Gonéri Le Bouder

freebsd: fix the name of cloudcfg VARIANT

config/cloud.cfg.tmpl uses 'freebsd', not 'bsd' to identify FreeBSD.

6197c34... by Gonéri Le Bouder

freebsd: ability to grow root file system

- UFS file system support
- GPT partition table support
- add support for newfs's -L parameter (label)
- move freebsd specific test from Azure to freebsd

0f86953... by Gonéri Le Bouder

freebsd: NoCloud data source support

blkid is a Linux-only command. With this patch, cloud-init uses another
approach to find the data source on FreeBSD.

LP: #1645824