lp://staging/~oddbloke/cloud-init/bigstep

Created by Dan Watkins and last modified
Get this branch:
bzr branch lp://staging/~oddbloke/cloud-init/bigstep
Only Dan Watkins can upload to this branch. If you are Dan Watkins please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Dan Watkins
Project:
cloud-init
Status:
Development

Recent revisions

1176. By Dan Watkins

Enable the Bigstep data source in the default configuration

1175. By Dan Watkins

Added Bigstep datasource

1174. By Dan Watkins

Enable password changing via a hashed string

1173. By Scott Moser

Add a kill switch for customization on VMware platform.

The customization is set to False by default and is triggered only
when the option disable_vmware_customization is set to false in
/etc/cloud/cloud.cfg.

1172. By Scott Moser

Apply pep8, pyflakes fixes for python2 and 3

Update make check target to run pep8 and run pyflakes or pyflakes3
depending on the value of 'PYVER'. This way the python3 build
environment does not need python2 and vice versa.

Also have make check run the 'yaml' test.

tox: have tox run pep8 in the pyflakes

1171. By Scott Moser

systemd: support disabling cloud-init via file or kernel cmdline

This adds a systemd generator for a 'cloud-init.target'. That target will
be WantedBy multi-user.target in the default case. If there is a file
/etc/cloud/cloud-init.disabled or the kernel command line contains
'cloud-init=disabled' then cloud-init will not affect boot at all.

There are some packages/debian changes to affect this:
 * postinst, preinst: these are necessary to remove some
   old target files for multi-user.target (LP: #1552999)
 * changes to include these files in the debian source package.
 * rules.in: supports DEB_BUILD_OPTIONS=nocheck to not run check

setup.py: mostly changes to support installing the generator
          but also pep8 fixes along the way

systemd/*: make each of the services 'WantedBy=cloud-init.target'
           rather than being wanted by multi-user.target

1170. By Scott Moser

packages/debian: make trunk packaging closer to ubuntu

The big difference is using:
 ${python3:Depends} or ${python:Depends}
rather than explicitly listing the dependencies (via template ${requires}).

which means we get paths of
  /usr/lib/python3/dist-packages/..
rather than
  /usr/lib/python3.5/dist-packages/..
when built on xenial.

Additionally it seems we no longer need this strange line.
  # Because setup tools didn't copy data...

1169. By Scott Moser

lxd fix bug and only run if enabled.

The lxd module would run lxd init even if no lxd/init config was provided.

1168. By Scott Moser

fix pyflakes reported issues, and run it during package build and tox.

1167. By Scott Moser

timezone: use a symlink when updating /etc/localtime

Unless /etc/localtime is an existing file and not a symlink,
then we will symlink instead of copying the tz_file to /etc/localtime.

The copy was how older versions of Ubuntu handled this.
Those versions should have a file /etc/localtime . When the symlink
is preferred, then it should already exist in the image.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers