lp://staging/~harlowja/cloud-init/write-files-fetch-from-somewhere
- Get this branch:
- bzr branch lp://staging/~harlowja/cloud-init/write-files-fetch-from-somewhere
Branch merges
- Server Team CI bot: Needs Fixing (continuous-integration)
- Scott Moser: Needs Fixing
-
Diff: 218 lines (+132/-9)3 files modifiedcloudinit/config/cc_write_files.py (+27/-3)
cloudinit/url_helper.py (+20/-6)
tests/unittests/test_handler/test_handler_write_files.py (+85/-0)
Branch information
Recent revisions
- 1091. By Joshua Harlow
-
Fix reading of files for py3.x
util.read_
file_or_ url needs to have a __str__ that
returns the right type for py3.x; so make sure that if
binary data is read that it is decoded. - 1089. By Joshua Harlow
-
Allow write_files to fetch content
Instead of requring write_files to be always provided
all the data (which can be big/large blobs); allow it to
fetch that data from either a local file or a http/https
url instead (saving precious user-data space). - 1088. By Scott Moser
-
adjust cc_snappy for snappy install package with config.
It was believed that to install a package with config the command was:
snappy install --config=config- file <package>
Instead, what was implemented in snappy was:
snappy install <package> [<config-file>]This modifies cloud-init to invoke the latter and changes the tests
appropriately. - 1087. By Scott Moser
-
fix snappy package installation.
Some tests added here to make sure this works.
The install '--config' will only start to work with the next
version of snappy-go. - 1086. By Scott Moser
-
NoCloud: the local portion of NoCloud incorrectly claimed datasources
The intent has always been for the local datasource (NoCloud) to require
the provider of metadata to provide 'dsmode=local'. If that wasn't found,
then the default 'dsmode' would be 'net', and the NoCloudNet datasource
would then find the data.The bug here was that the default 'net' wasn't being set when
data was found on a local source.
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