~pengpengs/cloud-init:fix/ds-identify-dscheck-OVF-is-cdrom-oversized

Last commit made on 2019-06-24
Get this branch:
git clone -b fix/ds-identify-dscheck-OVF-is-cdrom-oversized https://git.launchpad.net/~pengpengs/cloud-init
Only Pengpeng Sun can upload to this branch. If you are Pengpeng Sun please log in for upload directions.

Branch merges

Branch information

Name:
fix/ds-identify-dscheck-OVF-is-cdrom-oversized
Repository:
lp:~pengpengs/cloud-init

Recent commits

3a71c5e... by Pengpeng Sun

Adding unittest on checking OVF cdrom size

6d2a1bd... by Pengpeng Sun

Add a cdrom size checker for OVF ds to ds-idenfity
With a large size ISO file attached to iso dev, ds-identify might
grep it entirely if iso dev is ISO9660, it takes very long time to
start OS.
This change check the ISO device size and convert it to MB, consider
ISO is too large if the size is greater than 9MB.
This change also moves ovf vmware guest customization checker to be
ahead of cdrom ovf checker, it will find OVF ds if vmware guest
customization is enabled.

c45485f... by Pengpeng Sun

Add a cdrom size checker for OVF ds to ds-identify

With a large size ISO file attached to iso dev, ds-identify might
grep it entirely if iso dev is ISO9660, it takes very long time to
start OS.
This change addes a checker to grep the ISO size, consider ISO is
too large if the size is greater than 99999KB.
This change also moves ovf vmware guest customization checker to be
ahead of cdrom ovf checker, so no need grep entire ISO if vmware
guest customization is enabled.

a0f863d... by Gonéri Le Bouder

tools/build-on-freebsd: update to python3

- use python3 by default
- ability to use any Python version through the PYTHON env-var
- indent with 4 spaces
- use 'set -eux'
- remove trailing whitespace
- drop the cheetah dep, Jinja2 is enough

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