~cloud-init-dev/cloud-init/trunk

  • Committer: Scott Moser
  • Date: 2016-07-14 18:25:09 UTC
  • mfrom: (1245.1.5 trunk.lp1602373)
  • Revision ID: smoser@ubuntu.com-20160714182509-3u0osx9bxrwflke3
ConfigDrive: fix writing of 'injected' files and legacy networking

Previous commit inadvertently disabled the consumption of 'injected' files
in configdrive (openstack server boot --file=/target/file=local-file)
unless the datasource was in 'pass' mode. The default mode is 'net' so
that was not likely to happen.

Also here are:
a.) some comments to apply_network_config

b.) add backwards compatibility for distros that do not yet implement
    apply_network_config by converting the network config into ENI format
    and calling apply_network.

    This is required because prior to the previous commit, those distros
    would have had 'apply_network' called with the openstack provided
    ENI file. But after this change they will have apply_network_config
    called by cloudinit's main.

c.) add network_state_to_eni for converting net config to eni
    it supports the not-actually-correct 'hwaddress' field in ENI
Filename Latest Rev Last Changed Committer Comment Size
..
cloudinit 144 14 years ago Scott Moser globally remove ec2init and rename to cloudinit Diff
config 271 13 years ago Scott Moser remove 'biultin' config, separate cloud.cfg This Diff
doc 133 14 years ago Scott Moser add doc/userdata.txt, move examples to doc/. Diff
packages 559.2.335 11 years ago Joshua Harlow 1. Moving around the packages dir. 2. Adjusting th Diff
systemd 465 12 years ago Scott Moser Add sample/example systemd config files This impo Diff
sysvinit 559.2.435 11 years ago Scott Moser setup.py: rename "daemon type" to "init system" T Diff
templates 14 15 years ago Bazaar Package Importer * ec2-set-apt-sources.py: - Use a template to ge Diff
tests 499.1.1 12 years ago Mike Milner Add initial unit test framework. Add initial tests Diff
tools 82 14 years ago Scott Moser add tools/ directory and 'write-mime-multipart' w Diff
udev 1121.2.4 8 years ago Daniel Watkins Add udev rules for Azure ephemeral disks. And ins Diff
upstart 80 14 years ago Scott Moser put upstart files in upstart/, minor other changes Diff
.bzrignore 1052.1.3 9 years ago Barry Warsaw Fix file modes to be Python 2/3 compatible. 42 bytes Diff Download File
ChangeLog 1247.3.3 7 years ago Scott Moser give Sergii credit in changelog 45.2 KB Diff Download File
HACKING.rst 1000.1.2 9 years ago Jay Faulkner Remove pylint pylint was not passing, and per smo 1.5 KB Diff Download File
LICENSE 450 12 years ago Scott Moser add LICENSE file 34.3 KB Diff Download File
Makefile 1172 8 years ago Scott Moser Apply pep8, pyflakes fixes for python2 and 3 Upda 1.7 KB Diff Download File
MANIFEST.in 1052.1.1 9 years ago Barry Warsaw * Added a simple tox.ini file * Use universal_newl 167 bytes Diff Download File
requirements.txt 1215.2.14 8 years ago Joshua Harlow Fix py26 for rhel (and older versions of python) 1 KB Diff Download File
File setup.py 1236.1.1 7 years ago Joshua Harlow Make the bin/cloud-init an actual console entrypoi 6.8 KB Diff Download File
test-requirements.txt 1218.2.7 7 years ago Joshua Harlow Rebase against master 285 bytes Diff Download File
TODO.rst 978 9 years ago Scott Moser move TODO to TODO.rst 2.1 KB Diff Download File
tox.ini 1218.2.11 7 years ago Joshua Harlow Less less tweaking of tox.ini 631 bytes Diff Download File