Merge ~chad.smith/cloud-init:ubuntu/devel into cloud-init:master

Proposed by Chad Smith
Status: Superseded
Proposed branch: ~chad.smith/cloud-init:ubuntu/devel
Merge into: cloud-init:master
Diff against target: 8558 lines (+8264/-0)
49 files modified
debian/README.source (+29/-0)
debian/apport-launcher.py (+6/-0)
debian/changelog (+3488/-0)
debian/cherry-pick (+197/-0)
debian/cloud-init.config (+78/-0)
debian/cloud-init.maintscript (+8/-0)
debian/cloud-init.postinst (+336/-0)
debian/cloud-init.postrm (+15/-0)
debian/cloud-init.preinst (+254/-0)
debian/cloud-init.prerm (+6/-0)
debian/cloud-init.templates (+12/-0)
debian/compat (+1/-0)
debian/control (+61/-0)
debian/copyright (+40/-0)
debian/grub-legacy-ec2.install (+4/-0)
debian/grub-legacy-ec2.lintian-overrides (+6/-0)
debian/grub-legacy-ec2.postinst (+10/-0)
debian/grub-legacy-ec2.postrm (+17/-0)
debian/grub-legacy-ec2.preinst (+9/-0)
debian/grub-legacy-ec2.templates (+9/-0)
debian/grub-set-default (+38/-0)
debian/grub-set-default-legacy-ec2 (+141/-0)
debian/kernel/postinst.d/x-grub-legacy-ec2 (+18/-0)
debian/kernel/postrm.d/x-grub-legacy-ec2 (+18/-0)
debian/new-upstream-snapshot (+170/-0)
debian/po/POTFILES.in (+1/-0)
debian/po/ca.po (+80/-0)
debian/po/cs.po (+89/-0)
debian/po/da.po (+86/-0)
debian/po/de.po (+92/-0)
debian/po/es.po (+105/-0)
debian/po/eu.po (+83/-0)
debian/po/fi.po (+79/-0)
debian/po/fr.po (+78/-0)
debian/po/gl.po (+80/-0)
debian/po/it.po (+81/-0)
debian/po/ja.po (+90/-0)
debian/po/nl.po (+95/-0)
debian/po/pl.po (+100/-0)
debian/po/pt.po (+82/-0)
debian/po/pt_BR.po (+89/-0)
debian/po/ru.po (+85/-0)
debian/po/sv.po (+82/-0)
debian/po/templates.pot (+80/-0)
debian/po/vi.po (+91/-0)
debian/rules (+23/-0)
debian/source/format (+1/-0)
debian/update-grub-legacy-ec2 (+1619/-0)
debian/watch (+2/-0)
Reviewer Review Type Date Requested Status
Scott Moser Pending
Review via email: mp+337087@code.launchpad.net

Description of the change

Sync latest cloud-init master to Bionic for release

To post a comment you must log in.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/README.source b/debian/README.source
0new file mode 1006440new file mode 100644
index 0000000..df79a3e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,29 @@
1=== General Info ===
2Packaging branches for the Ubuntu development release are maintained in
3upstream git under ubuntu/devel branch.
4
5 git clone git://git.launchpad.net/cloud-init -b ubuntu/devel
6
7Stable release branches are also available in ubuntu/<codename>
8 $ git clone git://git.launchpad.net/cloud-init
9 $ cd cloud-init
10 $ git branch -r
11 origin/HEAD -> origin/master
12 origin/master
13 origin/ubuntu/devel
14 origin/ubuntu/precise
15 origin/ubuntu/trusty
16 origin/ubuntu/xenial
17
18Patches in debian/patches are stored un-applied.
19
20== New snapshot ==
21To pull a new upstream snapshot:
22
23 ./debian/new-upstream-snapshot ../trunk
24
25== Cherry Pick ==
26To cherry pick an upstream commit:
27 ./debian/cherry-pick <hash>
28
29That will add a patch to debian/patches/ and debian/patches/series.
diff --git a/debian/apport-launcher.py b/debian/apport-launcher.py
0new file mode 10064430new file mode 100644
index 0000000..30fea31
--- /dev/null
+++ b/debian/apport-launcher.py
@@ -0,0 +1,6 @@
1'''Wrapper for cloudinit apport interface'''
2
3from cloudinit.apport import add_info as cloudinit_add_info
4
5def add_info(report, ui):
6 return cloudinit_add_info(report, ui)
diff --git a/debian/changelog b/debian/changelog
0new file mode 1006447new file mode 100644
index 0000000..dbc22c8
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,3488 @@
1cloud-init (17.2-30-gf7deaf15-0ubuntu1) UNRELEASED; urgency=medium
2
3 * New upstream snapshot.
4 - docs: Update RTD content for cloud-init subcommands.
5 - OVF: Extend well-known labels to include OVFENV. (LP: #1698669)
6 - Fix potential cases of uninitialized variables. (LP: #1744796)
7 - tests: Collect script output as binary, collect systemd journal, fix lxd.
8 - HACKING.rst: mention setting user name and email via git config.
9
10 -- Chad Smith <chad.smith@canonical.com> Fri, 02 Feb 2018 09:35:55 -0700
11
12cloud-init (17.2-25-gc03bdd3d-0ubuntu1) bionic; urgency=medium
13
14 * New upstream snapshot.
15 - Azure VM Preprovisioning support. [Douglas Jordan] (LP: #1734991)
16 - tools/read-version: Fix read-version when in a git worktree.
17 - docs: Fix typos in docs and one debug message. [Florian Grignon]
18 - btrfs: support resizing if root is mounted ro.
19 [Robert Schweikert] (LP: #1734787)
20 - OpenNebula: Improve network configuration support.
21 [Akihiko Ota] (LP: #1719157, #1716397, #1736750)
22
23 -- Chad Smith <chad.smith@canonical.com> Wed, 24 Jan 2018 16:39:23 -0700
24
25cloud-init (17.2-20-g32a6a176-0ubuntu1) bionic; urgency=medium
26
27 * New upstream snapshot.
28 - tests: Fix EC2 Platform to return console output as bytes.
29 - tests: Fix attempted use of /run in a test case.
30 - GCE: Improvements and changes to ssh key behavior for default user.
31 [Max Illfelder] (LP: #1670456, #1707033, #1707037, #1707039)
32 - subp: make ProcessExecutionError have expected types in stderr, stdout.
33 - tests: when querying ntp server, do not do dns resolution.
34 - Recognize uppercase vfat disk labels [James Penick] (LP: #1598783)
35 - tests: remove zesty as supported OS to test
36
37 -- Chad Smith <chad.smith@canonical.com> Tue, 23 Jan 2018 20:10:44 -0700
38
39cloud-init (17.2-13-g6299e8d0-0ubuntu1) bionic; urgency=medium
40
41 * New upstream snapshot.
42 - Do not log warning on config files that represent None. (LP: #1742479)
43 - tests: Use git hash pip dependency format for pylxd. [Chad Smith]
44 - tests: add integration requirements text file [Joshua Powers]
45 - MAAS: add check_instance_id based off oauth tokens. (LP: #1712680)
46
47 -- Scott Moser <smoser@ubuntu.com> Mon, 15 Jan 2018 10:15:05 -0500
48
49cloud-init (17.2-9-gdf24daa8-0ubuntu1) bionic; urgency=medium
50
51 * New upstream snapshot.
52 - tests: update apt sources list test [Joshua Powers]
53 - tests: clean up image properties [Joshua Powers]
54 - tests: rename test ssh keys to avoid appearance of leaking private keys.
55 [Joshua Powers]
56 - tests: Enable AWS EC2 Integration Testing [Joshua Powers]
57 - cli: cloud-init clean handles symlinks [Chad Smith] (LP: #1741093)
58 - SUSE: Add a basic test of network config rendering. [Robert Schweikert]
59 - Azure: Only bounce network when necessary. [Chad Smith] (LP: #1722668)
60 - lint: Fix lints seen by pylint version 1.8.1. [Chad Smith]
61
62 -- Scott Moser <smoser@ubuntu.com> Mon, 15 Jan 2018 06:42:30 -0500
63
64cloud-init (17.2-1-g4089e20c-0ubuntu1) bionic; urgency=medium
65
66 * New upstream snapshot.
67 - cli: Fix error in cloud-init modules --mode=init.
68 (LP: #1736600)
69 - release 17.2
70
71 -- Chad Smith <chad.smith@canonical.com> Fri, 15 Dec 2017 10:11:50 -0700
72
73cloud-init (17.1-60-ga30a3bb5-0ubuntu1) bionic; urgency=medium
74
75 * New upstream snapshot.
76 - ds-identify: failure in NoCloud due to unset variable usage.
77 (LP: #1737704)
78 - tests: fix collect_console when not implemented [Joshua Powers]
79
80 -- Chad Smith <chad.smith@canonical.com> Tue, 12 Dec 2017 12:03:08 -0700
81
82cloud-init (17.1-58-g703241a3-0ubuntu1) bionic; urgency=medium
83
84 * New upstream snapshot.
85 - ec2: Use instance-identity doc for region and instance-id
86 [Andrew Jorgensen]
87 - tests: remove leaked tmp files in config drive tests.
88 - setup.py: Do not include rendered files in SOURCES.txt
89 - SUSE: remove delta in systemd local template for SUSE [Robert Schweikert]
90 - tests: move to using tox 1.7.5
91
92 -- Scott Moser <smoser@ubuntu.com> Mon, 11 Dec 2017 18:30:56 -0500
93
94cloud-init (17.1-53-ga5dc0f42-0ubuntu1) bionic; urgency=medium
95
96 * New upstream snapshot.
97 - OVF: improve ds-identify to support finding OVF iso transport.
98 (LP: #1731868)
99 - VMware: Support for user provided pre and post-customization scripts
100 [Maitreyee Saikia]
101
102 -- Chad Smith <chad.smith@canonical.com> Fri, 08 Dec 2017 14:46:36 -0700
103
104cloud-init (17.1-51-g05b2308a-0ubuntu1) bionic; urgency=medium
105
106 * New upstream snapshot.
107 - citest: In NoCloudKVM provide keys via metadata not userdata.
108 - pylint: Update pylint to 1.7.1, run on tests/ and tools and fix
109 complaints. [Ryan Harper]
110 - Datasources: Formalize DataSource get_data and related properties.
111 [Chad Smith]
112 - cli: Add clean and status subcommands [Chad Smith]
113 - tests: consolidate platforms into specific dirs
114
115 -- Scott Moser <smoser@ubuntu.com> Thu, 07 Dec 2017 22:58:41 -0500
116
117cloud-init (17.1-46-g7acc9e68-0ubuntu1) bionic; urgency=medium
118
119 * New upstream snapshot.
120 - ec2: Fix sandboxed dhclient background process cleanup.
121 [Chad Smith] (LP: #1735331)
122 - tests: NoCloudKVMImage do not modify the original local cache image.
123 - tests: Enable bionic in integration tests. [Joshua Powers]
124 - tests: Use apt-get to install a deb so that depends get resolved.
125 - sysconfig: Correctly render dns and dns search info.
126 [Ryan McCabe] (LP: #1705804)
127
128 -- Scott Moser <smoser@ubuntu.com> Thu, 30 Nov 2017 21:59:55 -0500
129
130cloud-init (17.1-41-g76243487-0ubuntu1) bionic; urgency=medium
131
132 * debian/cloud-init.templates: Fix capitilazation in 'AliYun' name.
133 (LP: #1728186)
134 * New upstream snapshot.
135 - integration test: replace curtin test ppa with cloud-init test ppa.
136 - EC2: Fix bug using fallback_nic and metadata when restoring from cache.
137 (LP: #1732917)
138 - EC2: Kill dhclient process used in sandbox dhclient. (LP: #1732964)
139 - ntp: fix configuration template rendering for openSUSE and SLES
140 (LP: #1726572)
141 - centos: Provide the failed #include url in error messages
142 - Catch UrlError when #include'ing URLs [Andrew Jorgensen]
143 - hosts: Fix openSUSE and SLES setup for /etc/hosts and clarify docs.
144 [Robert Schweikert] (LP: #1731022)
145 - rh_subscription: Perform null checks for enabled and disabled repos.
146 [Dave Mulford]
147 - Improve warning message when a template is not found.
148 [Robert Schweikert] (LP: #1731035)
149 - Replace the temporary i9n.brickies.net with i9n.cloud-init.io.
150 - Azure: don't generate network configuration for SRIOV devices
151 (LP: #1721579)
152 - tests: address some minor feedback missed in last merge.
153 - tests: integration test cleanup and full pass of nocloud-kvm.
154 - Gentoo: chmod +x on all files in sysvinit/gentoo/
155 [ckonstanski] (LP: #1727126)
156
157 -- Chad Smith <chad.smith@canonical.com> Mon, 20 Nov 2017 15:18:52 -0700
158
159cloud-init (17.1-27-geb292c18-0ubuntu1) bionic; urgency=medium
160
161 * New upstream snapshot.
162 - EC2: Limit network config to fallback nic, fix local-ipv4 only
163 instances. (LP: #1728152)
164 - Gentoo: Use "rc-service" rather than "service".
165 [ckonstanski] (LP: #1727121)
166
167 -- Chad Smith <chad.smith@canonical.com> Tue, 31 Oct 2017 12:51:10 -0600
168
169cloud-init (17.1-25-g17a15f9e-0ubuntu1) bionic; urgency=medium
170
171 * New upstream snapshot.
172 - resizefs: Fix regression when system booted with root=PARTUUID=
173 [Chad Smith] (LP: #1725067)
174 - tools: make yum package installation more reliable
175 - citest: fix remaining warnings raised by integration tests.
176 - citest: show the class actual class name in results.
177 - ntp: fix config module schema to allow empty ntp config
178 [Chad Smith] (LP: #1724951)
179 - tools: disable fastestmirror if using proxy [Joshua Powers]
180 - schema: Log debug instead of warning when jsonschema is not available.
181 (LP: #1724354)
182
183 -- Ryan Harper <ryan.harper@canonical.com> Tue, 24 Oct 2017 10:40:00 -0500
184
185cloud-init (17.1-18-gd4f70470-0ubuntu1) artful; urgency=medium
186
187 * New upstream snapshot.
188 - simpletable: Fix get_string method to return table-formatted string
189 (LP: #1722566)
190
191 -- Chad Smith <chad.smith@canonical.com> Tue, 10 Oct 2017 13:40:13 -0600
192
193cloud-init (17.1-17-g45d361cb-0ubuntu1) artful; urgency=medium
194
195 * New upstream snapshot.
196 - net: Handle bridge stp values of 0 and convert to boolean type
197 [Chad Smith]
198 - tools: Give specific --abbrev=8 to "git describe"
199 - network: bridge_stp value not always correct [Ryan Harper] (LP: #1721157)
200 - tests: re-enable tox with nocloud-kvm support [Joshua Powers]
201
202 -- Ryan Harper <ryan.harper@canonical.com> Thu, 05 Oct 2017 16:15:34 -0500
203
204cloud-init (17.1-13-g7fd04255-0ubuntu1) artful; urgency=medium
205
206 * debian/copyright: dep5 updates, reorganize, add Apache 2.0 license.
207 (LP: #1718681)
208 * debian/control: drop dependency on python3-prettytable
209 * New upstream snapshot.
210 - systemd: remove limit on tasks created by cloud-init-final.service.
211 [Robert Schweikert] (LP: #1717969)
212 - suse: Support addition of zypper repos via cloud-config.
213 [Robert Schweikert] (LP: #1718675)
214 - tests: Combine integration configs and testcases [Joshua Powers]
215 - Azure, CloudStack: Support reading dhcp options from systemd-networkd.
216 [Dimitri John Ledkov] (LP: #1718029)
217 - packages/debian/copyright: remove mention of boto and MIT license
218 - systemd: only mention Before=apt-daily.service on debian based distros.
219 [Robert Schweikert]
220 - Add missing simpletable and simpletable tests for failed merge
221 [Chad Smith]
222 - Remove prettytable dependency, introduce simpletable [Andrew Jorgensen]
223 - debian/copyright: dep5 updates, reorganize, add Apache 2.0 license.
224 [Joshua Powers] (LP: #1718681)
225 - tests: remove dependency on shlex [Joshua Powers]
226 - AltCloud: Trust PATH for udevadm and modprobe.
227 - DataSourceOVF: use util.find_devs_with(TYPE=iso9660)
228 [Ryan Harper] (LP: #1718287)
229 - tests: remove a temp file used in bootcmd tests.
230
231 -- Ryan Harper <ryan.harper@canonical.com> Tue, 03 Oct 2017 10:59:52 -0500
232
233cloud-init (17.1-0ubuntu1) artful; urgency=medium
234
235 * New upstream release.
236 - doc: document GCE datasource. [Arnd Hannemann]
237 - suse: updates to templates to support openSUSE and SLES.
238 [Robert Schweikert] (LP: #1718640)
239 - suse: Copy sysvinit files from redhat with slight changes.
240 [Robert Schweikert] (LP: #1718649)
241 - docs: fix sphinx module schema documentation [Chad Smith]
242 - tests: Add cloudinit package to all test targets [Chad Smith]
243 - Makefile: No longer look for yaml files in obsolete ./bin/.
244 - tests: fix ds-identify unit tests to set EC2_STRICT_ID_DEFAULT.
245
246 -- Scott Moser <smoser@ubuntu.com> Fri, 22 Sep 2017 12:21:18 -0400
247
248cloud-init (0.7.9-283-g7eb3460b-0ubuntu1) artful; urgency=medium
249
250 * New upstream snapshot.
251 - ec2: Fix maybe_perform_dhcp_discovery to use /var/tmp as a tmpdir
252 [Chad Smith] (LP: #1717627)
253 - Azure: wait longer for SSH pub keys to arrive.
254 [Paul Meyer] (LP: #1717611)
255
256 -- Scott Moser <smoser@ubuntu.com> Mon, 18 Sep 2017 20:41:53 -0400
257
258cloud-init (0.7.9-281-g10f067d8-0ubuntu1) artful; urgency=medium
259
260 * New upstream snapshot.
261 - GCE: Fix usage of user-data. (LP: #1717598)
262
263 -- Scott Moser <smoser@ubuntu.com> Mon, 18 Sep 2017 17:03:22 -0400
264
265cloud-init (0.7.9-280-ge626966e-0ubuntu1) artful; urgency=medium
266
267 * debian/rules: install rsyslog file with 0644 mode instead of 0755.
268 * debian/rules, debian/apport-launcher.py: add an apport hook. (LP: #1607345)
269 * New upstream snapshot.
270 - cmdline: add collect-logs subcommand. [Chad Smith] (LP: #1607345)
271 - CloudStack: consider dhclient lease files named with a hyphen.
272 (LP: #1717147)
273 - resizefs: Drop check for read-only device file, do not warn on
274 overlayroot. [Chad Smith]
275 - Do not provide systemd-fsck drop-in which could cause ordering cycles.
276 [Balint Reczey] (LP: #1717477)
277 - tests: Enable the NoCloud KVM platform [Joshua Powers]
278 - resizefs: pass mount point to xfs_growfs [Dusty Mabe]
279 - vmware: Enable nics before sending the SUCCESS event. [Sankar Tanguturi]
280 - cloud-config modules: honor distros definitions in each module
281 [Chad Smith] (LP: #1715738, #1715690)
282 - chef: Add option to pin chef omnibus install version
283 [Ethan Apodaca] (LP: #1462693)
284 - tests: execute: support command as string [Joshua Powers]
285 - schema and docs: Add jsonschema to resizefs and bootcmd modules
286 [Chad Smith]
287 - tools: Add xkvm script, wrapper around qemu-system [Joshua Powers]
288 - vmware customization: return network config format
289 [Sankar Tanguturi] (LP: #1675063)
290
291 -- Scott Moser <smoser@ubuntu.com> Fri, 15 Sep 2017 16:09:07 -0400
292
293cloud-init (0.7.9-267-g922c3c5c-0ubuntu1) artful; urgency=medium
294
295 * New upstream snapshot.
296 - Ec2: only attempt to operate at local mode on known platforms.
297 (LP: #1715128)
298 - Use /run/cloud-init for tempfile operations. (LP: #1707222)
299 - ds-identify: Make OpenStack return maybe on arch other than intel.
300 (LP: #1715241)
301 - tests: mock missed openstack metadata uri network_data.json
302 [Chad Smith] (LP: #1714376)
303 - relocate tests/unittests/helpers.py to cloudinit/tests
304 [Lars Kellogg-Stedman]
305 - tox: add nose timer output [Joshua Powers]
306 - upstart: do not package upstart jobs, drop ubuntu-init-switch module.
307 - tests: Stop leaking calls through unmocked metadata addresses
308 [Chad Smith] (LP: #1714117)
309
310 -- Scott Moser <smoser@ubuntu.com> Thu, 07 Sep 2017 16:59:04 -0400
311
312cloud-init (0.7.9-259-g7e76c57b-0ubuntu1) artful; urgency=medium
313
314 * Disable upstart support, as upstart is no longer shipped in artful.
315 [Dimitri Ledkov]
316 * New upstream snapshot.
317 - distro: allow distro to specify a default locale [Ryan Harper]
318 - tests: fix two recently added tests for sles distro.
319 - url_helper: dynamically import oauthlib import from inside oauth_headers
320 [Chad Smith]
321 - tox: make xenial environment run with python3.6
322 - suse: Add support for openSUSE and return SLES to a working state.
323 [Robert Schweikert]
324 - GCE: Add a main to the GCE Datasource.
325 - ec2: Add IPv6 dhcp support to Ec2DataSource. [Chad Smith] (LP: #1639030)
326 - url_helper: fail gracefully if oauthlib is not available
327 [Lars Kellogg-Stedman] (LP: #1713760)
328 - cloud-init analyze: fix issues running under python 2. [Andrew Jorgensen]
329 - Configure logging module to always use UTC time.
330 [Ryan Harper] (LP: #1713158)
331 - Log a helpful message if a user script does not include shebang.
332 [Andrew Jorgensen]
333 - cli: Fix command line parsing of coniditionally loaded subcommands.
334 [Chad Smith] (LP: #1712676)
335 - doc: Explain error behavior in user data include file format.
336 [Jason Butz]
337 - cc_landscape & cc_puppet: Fix six.StringIO use in writing configs
338 [Chad Smith] (LP: #1699282, #1710932)
339 - schema cli: Add schema subcommand to cloud-init cli and cc_runcmd schema
340 [Chad Smith]
341 - Debian: Remove non-free repositories from apt sources template.
342 [Joonas Kylmälä] (LP: #1700091)
343
344 -- Scott Moser <smoser@ubuntu.com> Wed, 30 Aug 2017 21:18:05 -0400
345
346cloud-init (0.7.9-243-ge74d775-0ubuntu1) artful; urgency=medium
347
348 * New upstream snapshot.
349 - tools: Add tooling for basic cloud-init performance analysis.
350 [Chad Smith] (LP: #1709761)
351 - network: add v2 passthrough and fix parsing v2 config with bonds/bridge
352 params [Ryan Harper] (LP: #1709180)
353 - doc: update capabilities with features available, link doc reference,
354 cli example [Ryan Harper]
355 - vcloud directory: Guest Customization support for passwords
356 [Maitreyee Saikia]
357 - ec2: Allow Ec2 to run in init-local using dhclient in a sandbox.
358 [Chad Smith] (LP: #1709772)
359 - cc_ntp: fallback on timesyncd configuration if ntp is not installable
360 [Ryan Harper] (LP: #1686485)
361 - net: Reduce duplicate code. Have get_interfaces_by_mac use
362 get_interfaces.
363 - tests: Fix build tree integration tests [Joshua Powers]
364 - sysconfig: Dont repeat header when rendering resolv.conf
365 [Ryan Harper] (LP: #1701420)
366 - archlinux: Fix bug with empty dns, do not render 'lo' devices.
367 (LP: #1663045, #1706593)
368 - cloudinit.net: add initialize_network_device function and tests
369 [Chad Smith]
370 - makefile: fix ci-deps-ubuntu target [Chad Smith]
371
372 -- Ryan Harper <ryan.harper@canonical.com> Mon, 21 Aug 2017 15:09:36 -0500
373
374cloud-init (0.7.9-231-g80bf98b9-0ubuntu1) artful; urgency=medium
375
376 * New upstream snapshot.
377 - tests: remove 'yakkety' from releases as it is EOL.
378 - systemd: make systemd-fsck run after cloud-init.service (LP: #1691489)
379 - tests: Add initial tests for EC2 and improve a docstring.
380 - locale: Do not re-run locale-gen if provided locale is system default.
381 - archlinux: fix set hostname usage of write_file.
382 [Joshua Powers] (LP: #1705306)
383 - sysconfig: support subnet type of 'manual'.
384 - Drop rand_str() usage in DNS redirection detection
385 [Bob Aman] (LP: #1088611)
386
387 -- Scott Moser <smoser@ubuntu.com> Mon, 31 Jul 2017 09:47:34 -0400
388
389cloud-init (0.7.9-221-g7e41b2a7-0ubuntu3) artful; urgency=medium
390
391 * debian/control: replace Depends on ifupdown with 'nplan | ifupdown'.
392 (LP: #1705639)
393 * debian/control: drop versioned dependencies on old packages.
394
395 -- Scott Moser <smoser@ubuntu.com> Fri, 21 Jul 2017 12:32:33 -0400
396
397cloud-init (0.7.9-221-g7e41b2a7-0ubuntu2) artful; urgency=medium
398
399 * debian/cloud-init.templates: enable Scaleway cloud.
400 * debian/cloud-init.templates: enable Aliyun cloud.
401
402 -- Scott Moser <smoser@ubuntu.com> Fri, 21 Jul 2017 09:33:39 -0400
403
404cloud-init (0.7.9-221-g7e41b2a7-0ubuntu1) artful; urgency=medium
405
406 * New upstream snapshot.
407 - sysconfig: use MACADDR on bonds/bridges to configure mac_address
408 [Ryan Harper] (LP: #1701417)
409 - net: eni route rendering missed ipv6 default route config
410 [Ryan Harper] (LP: #1701097)
411 - sysconfig: enable mtu set per subnet, including ipv6 mtu
412 [Ryan Harper] (LP: #1702513)
413 - sysconfig: handle manual type subnets [Ryan Harper] (LP: #1687725)
414 - sysconfig: fix ipv6 gateway routes [Ryan Harper] (LP: #1694801)
415 - sysconfig: fix rendering of bond, bridge and vlan types.
416 [Ryan Harper] (LP: #1695092)
417 - Templatize systemd unit files for cross distro deltas. [Ryan Harper]
418 - sysconfig: ipv6 and default gateway fixes. [Ryan Harper] (LP: #1704872)
419 - net: fix renaming of nics to support mac addresses written in upper case.
420 (LP: #1705147)
421
422 -- Scott Moser <smoser@ubuntu.com> Thu, 20 Jul 2017 21:37:12 -0400
423
424cloud-init (0.7.9-212-g865e941f-0ubuntu1) artful; urgency=medium
425
426 * New upstream snapshot.
427 - tests: fixes for issues uncovered when moving to python 3.6.
428 - sysconfig: include GATEWAY value if set in subnet
429 [Ryan Harper] (LP: #1686856)
430
431 -- Scott Moser <smoser@ubuntu.com> Wed, 19 Jul 2017 07:54:57 -0400
432
433cloud-init (0.7.9-210-ge80517ae-0ubuntu1) artful; urgency=medium
434
435 * New upstream snapshot.
436 - Scaleway: add datasource with user and vendor data for Scaleway.
437 [Julien Castets]
438 - Support comments in content read by load_shell_content.
439 - FreeBSD: cloudinit local fail to run during boot [Hongjiang Zhang]
440 - doc: fix disk setup example table_type options [Sandor Zeestraten]
441 (LP: #1703789)
442 - tools: Fix exception handling. [Joonas Kylmälä] (LP: #1701527)
443 - tests: fix usage of mock in GCE test.
444 - test_gce: Fix invalid mock of platform_reports_gce to return False
445 [Chad Smith]
446 - test: fix incorrect keyid for apt repository. [Joshua Powers]
447 (LP: #1702717)
448 - tests: Update version of pylxd [Joshua Powers]
449 - write_files: Remove log from helper function signatures.
450 [Andrew Jorgensen]
451 - doc: document the cmdline options to NoCloud [Brian Candler]
452
453 -- Scott Moser <smoser@ubuntu.com> Tue, 18 Jul 2017 14:03:33 -0400
454
455cloud-init (0.7.9-199-g4d9f24f5-0ubuntu1) artful; urgency=medium
456
457 * New upstream snapshot.
458 - read_dmi_data: always return None when inside a container. (LP: #1701325)
459 - requirements.txt: remove trailing white space.
460
461 -- Scott Moser <smoser@ubuntu.com> Thu, 29 Jun 2017 18:01:21 -0400
462
463cloud-init (0.7.9-197-gebc9ecbc-0ubuntu1) artful; urgency=medium
464
465 * debian/control: add build dependency python3-jsonschema (LP: #1695318)
466 * New upstream snapshot.
467 - Azure: Add network-config, Refactor net layer to handle duplicate macs.
468 [Ryan Harper]
469 - Tests: Simplify the check on ssh-import-id [Joshua Powers]
470 - tests: update ntp tests after sntp added [Joshua Powers]
471 - FreeBSD: Make freebsd a variant, fix unittests and
472 tools/build-on-freebsd.
473 - FreeBSD: fix test failure
474 - FreeBSD: replace ifdown/ifup with "ifconfig down" and "ifconfig up".
475 [Hongjiang Zhang] (LP: #1697815)
476 - FreeBSD: fix cdrom mounting failure if /mnt/cdrom/secure did not exist.
477 [Hongjiang Zhang] (LP: #1696295)
478 - main: Don't use templater to format the welcome message
479 [Andrew Jorgensen]
480 - docs: Automatically generate module docs form schema if present.
481 [Chad Smith]
482 - debian: fix path comment in /etc/hosts template.
483 [Jens Sandmann] (LP: #1606406)
484 - suse: add hostname and fully qualified domain to template.
485 [Jens Sandmann]
486 - write_file(s): Print permissions as octal, not decimal [Andrew Jorgensen]
487 - ci deps: Add --test-distro to read-dependencies to install all deps
488 [Chad Smith]
489 - tools/run-centos: cleanups and move to using read-dependencies
490 - pkg build ci: Add make ci-deps-<distro> target to install pkgs
491 [Chad Smith]
492 - systemd: make cloud-final.service run before apt daily services.
493 (LP: #1693361)
494 - selinux: Allow restorecon to be non-fatal. [Ryan Harper] (LP: #1686751)
495 - net: Allow netinfo subprocesses to return 0 or 1.
496 [Ryan Harper] (LP: #1686751)
497 - net: Allow for NetworkManager configuration [Ryan McCabe] (LP: #1693251)
498 - Use distro release version to determine if we use systemd in redhat spec
499 [Ryan Harper]
500 - net: normalize data in network_state object
501 - Integration Testing: tox env, pyxld 2.2.3, and revamp framework
502 [Wesley Wiedenmeier]
503 - Chef: Update omnibus url to chef.io, minor doc changes. [JJ Asghar]
504 - tools: add centos scripts to build and test [Joshua Powers]
505 - Drop cheetah python module as it is not needed by trunk [Ryan Harper]
506 - rhel/centos spec cleanups.
507 - cloud.cfg: move to a template. setup.py changes along the way.
508 - Makefile: add deb-src and srpm targets. use PYVER more places.
509 - makefile: fix python 2/3 detection in the Makefile [Chad Smith]
510 - snap: Removing snapcraft plug line [Joshua Powers] (LP: #1695333)
511 - RHEL/CentOS: Fix default routes for IPv4/IPv6 configuration.
512 [Andreas Karis] (LP: #1696176)
513 - test: Fix pyflakes complaint of unused import.
514 [Joshua Powers] (LP: #1695918)
515 - NoCloud: support seed of nocloud from smbios information
516 [Vladimir Pouzanov] (LP: #1691772)
517 - net: when selecting a network device, use natural sort order
518 [Marc-Aurèle Brothier]
519 - fix typos and remove whitespace in various docs [Stephan Telling]
520 - systemd: Fix typo in comment in cloud-init.target. [Chen-Han Hsiao]
521 - Tests: Skip jsonschema related unit tests when dependency is absent.
522 [Chad Smith] (LP: #1695318)
523 - azure: remove accidental duplicate line in merge.
524 - azure: identify platform by well known value in chassis asset tag.
525 [Chad Smith] (LP: #1693939)
526 - tools/net-convert.py: support old cloudinit versions by using kwargs.
527 - ntp: Add schema definition and passive schema validation.
528 [Chad Smith] (LP: #1692916)
529 - Fix eni rendering for bridge params that require repeated key for values.
530 [Ryan Harper]
531 - net: remove systemd link file writing from eni renderer [Ryan Harper]
532 - AliYun: Enable platform identification and enable by default.
533 [Junjie Wang] (LP: #1638931)
534
535 -- Scott Moser <smoser@ubuntu.com> Tue, 27 Jun 2017 17:18:24 -0400
536
537cloud-init (0.7.9-153-g16a7302f-0ubuntu1) artful; urgency=medium
538
539 * New upstream snapshot.
540 - net: fix reading and rendering addresses in cidr format.
541 [Dimitri John Ledkov] (LP: #1689346, #1684349)
542 - disk_setup: udev settle before attempting partitioning or fs creation.
543 [Scott Moser] (LP: #1692093)
544 - GCE: Update the attribute used to find instance SSH keys.
545 [Daniel Watkins] (LP: #1693582)
546 - nplan: For bonds, allow dashed or underscore names of keys.
547 [Dimitri John Ledkov] (LP: #1690480)
548 - python2.6: fix unit tests usage of assertNone and format.
549 - test: update docstring on test_configured_list_with_none
550 - fix tools/ds-identify to not write None twice.
551 - tox/build: do not package depend on style requirements.
552 - cc_ntp: Restructure cc_ntp unit tests. [Chad Smith] (LP: #1692794)
553
554 -- Scott Moser <smoser@ubuntu.com> Fri, 26 May 2017 15:11:48 -0400
555
556cloud-init (0.7.9-144-g2825a917-0ubuntu1) artful; urgency=medium
557
558 * New upstream snapshot.
559 - flake8: move the pinned version of flake8 up to 3.3.0
560 - tests: Apply workaround for snapd bug in test case. [Joshua Powers]
561 - RHEL/CentOS: Fix dual stack IPv4/IPv6 configuration. [Andreas Karis]
562 (LP: #1679817, #1685534, #1685532)
563 - disk_setup: fix several issues with gpt disk partitions. (LP: #1692087)
564 - function spelling & docstring update [Joshua Powers]
565 - Fixing wrong file name regression. [Joshua Powers]
566 - tox: move pylint target to 1.7.1
567 - Fix get_interfaces_by_mac for empty macs (LP: #1692028)
568 - DigitalOcean: remove routes except for the public interface.
569 [Ben Howard] (LP: #1681531.)
570 - netplan: pass macaddress, when specified, for vlans
571 [Dimitri John Ledkov] (LP: #1690388)
572 - doc: various improvements for the docs on cc_users_groups.
573 [Felix Dreissig]
574 - cc_ntp: write template before installing and add service restart
575 [Ryan Harper] (LP: #1645644)
576 - cloudstack: fix tests to avoid accessing /var/lib/NetworkManager
577 [Lars Kellogg-Stedman]
578 - tests: fix hardcoded path to mkfs.ext4 [Joshua Powers] (LP: #1691517)
579 - Actually skip warnings when .skip file is present. [Chris Brinker]
580 (LP: #1691551)
581 - netplan: fix netplan render_network_state signature.
582 [Dimitri John Ledkov] (LP: #1685944)
583 - Azure: fix reformatting of ephemeral disks on resize to large types.
584 (LP: #1686514)
585 - Revert "tools/net-convert: fix argument order for render_network_state"
586 - make deb: Add devscripts dependency for make deb. Cleanup packages/bddeb.
587 [Chad Smith] (LP: #1685935)
588 - tools/net-convert: fix argument order for render_network_state
589 [Ryan Harper] (LP: #1685944)
590 - openstack: fix log message copy/paste typo in _get_url_settings
591 [Lars Kellogg-Stedman]
592 - unittests: fix unittests run on centos [Joshua Powers]
593 - Improve detection of snappy to include os-release and kernel cmdline.
594 (LP: #1689944)
595 - Add address to config entry generated by _klibc_to_config_entry.
596 [Julien Castets] (LP: #1691135)
597 - sysconfig: Raise ValueError when multiple default gateways are present.
598 [Chad Smith] (LP: #1687485)
599 - FreeBSD: improvements and fixes for use on Azure
600 [Hongjiang Zhang] (LP: #1636345)
601 - Add unit tests for ds-identify, fix Ec2 bug found.
602 - fs_setup: if cmd is specified, use shell interpretation.
603 [Paul Meyer] (LP: #1687712)
604 - doc: document network configuration defaults policy and formats.
605 [Ryan Harper]
606 - Fix name of "uri" key in docs for "cc_apt_configure" module
607 [Felix Dreissig]
608 - tests: Enable artful [Joshua Powers]
609
610 -- Scott Moser <smoser@ubuntu.com> Tue, 23 May 2017 17:04:40 -0400
611
612cloud-init (0.7.9-113-g513e99e0-0ubuntu1) artful; urgency=medium
613
614 * New upstream snapshot.
615 - nova-lxd: read product_name from environment, not platform.
616 (LP: #1685810)
617 - Fix yum repo config where keys contain array values
618 [Dylan Perry] (LP: #1592150)
619 - template: Update debian backports template [Joshua Powers] (LP: #1627293)
620 - rsyslog: replace ~ with stop [Joshua Powers] (LP: #1367899)
621 - Doc: add additional RTD examples [Joshua Powers] (LP: #1459604)
622 - Fix growpart for some cases when booted with root=PARTUUID.
623 (LP: #1684869)
624 - pylint: update output style to parseable [Joshua Powers]
625 - pylint: fix all logging warnings [Joshua Powers]
626 - CloudStack: Add NetworkManager to list of supported DHCP lease dirs.
627 [Syed Mushtaq Ahmed]
628 - net: kernel lies about vlans not stealing mac addresses, when they do
629 [Dimitri John Ledkov] (LP: #1682871)
630 - ds-identify: Check correct path for "latest" config drive
631 [Daniel Watkins] (LP: #1673637)
632 - doc: Fix example for resolve.conf configuration.
633 [Jon Grimm] (LP: #1531582)
634 - Fix examples that reference upstream chef repository.
635 [Jon Grimm] (LP: #1678145)
636 - doc: correct grammar and improve clarity in merging documentation.
637 [David Tagatac]
638 - doc: Add missing doc link to snap-config module. [Ryan Harper]
639 - snap: allows for creating cloud-init snap [Joshua Powers]
640 - DigitalOcean: assign IPv4ll address to lowest indexed interface.
641 [Ben Howard]
642 - DigitalOcean: configure all NICs presented in meta-data. [Ben Howard]
643 - Remove (and/or fix) URL shortener references [Jon Grimm] (LP: #1669727)
644 - HACKING.rst: more info on filling out contributors agreement.
645 [Scott Moser]
646 - util: teach write_file about copy_mode option
647 [Lars Kellogg-Stedman] (LP: #1644064)
648 - DigitalOcean: bind resolvers to loopback interface. [Ben Howard]
649 - tests: fix AltCloud tests to not rely on blkid (LP: #1636531)
650
651 -- Scott Moser <smoser@ubuntu.com> Tue, 25 Apr 2017 16:34:08 -0400
652
653cloud-init (0.7.9-90-g61eb03fe-0ubuntu2) UNRELEASED; urgency=medium
654
655 * debian/update-grub-legacy-ec2: fix early exit failure no /etc/fstab
656 file. (LP: #1682160)
657
658 -- Scott Moser <smoser@ubuntu.com> Wed, 12 Apr 2017 11:16:33 -0400
659
660cloud-init (0.7.9-90-g61eb03fe-0ubuntu1) zesty; urgency=medium
661
662 * New upstream snapshot.
663 - OpenStack: add 'dvs' to the list of physical link types.
664 (LP: #1674946)
665
666 -- Scott Moser <smoser@ubuntu.com> Mon, 03 Apr 2017 11:10:38 -0400
667
668cloud-init (0.7.9-89-gbf7723e8-0ubuntu1) zesty; urgency=medium
669
670 * New upstream snapshot.
671 - Fix bug that resulted in an attempt to rename bonds or vlans.
672 (LP: #1669860)
673 - tests: update OpenNebula and Digital Ocean to not rely on host
674 interfaces.
675
676 -- Scott Moser <smoser@ubuntu.com> Fri, 31 Mar 2017 17:02:28 -0400
677
678cloud-init (0.7.9-87-gd23543eb-0ubuntu1) zesty; urgency=medium
679
680 * debian/cloud-init.templates: add Bigstep to list of sources. (LP: #1676460)
681 * New upstream snapshot.
682 - net: in netplan renderer delete known image-builtin content.
683 (LP: #1675576)
684 - doc: correct grammar in capabilities.rst [David Tagatac]
685 - ds-identify: fix detecting of maas datasource. (LP: #1677710)
686 - netplan: remove debugging prints, add debug logging [Ryan Harper]
687 - ds-identify: do not write None twice to datasource_list.
688 - support resizing partition and rootfs on system booted without initramfs.
689 (LP: #1677376) [Steve Langasek]
690 - apt_configure: run only when needed. (LP: #1675185)
691 - OpenStack: identify OpenStack by product 'OpenStack Compute'.
692 (LP: #1675349)
693 - GCE: Search GCE in ds-identify, consider serial number in check.
694 (LP: #1674861)
695 - Add support for setting hashed passwords [Tore S. Lonoy] (LP: #1570325)
696
697 -- Scott Moser <smoser@ubuntu.com> Thu, 30 Mar 2017 16:46:43 -0400
698
699cloud-init (0.7.9-77-g4a2b2f87-0ubuntu1) zesty; urgency=medium
700
701 * New upstream snapshot.
702 - Fix filesystem creation when using "partition: auto" [Jonathan Ballet]
703 (LP: #1634678)
704 - ConfigDrive: support reading config drive data from /config-drive for
705 nova-lxd. (LP: #1673411)
706 - ds-identify: fix detection of Bigstep datasource. (LP: #1674766)
707 - test: add running of pylint [Joshua Powers]
708 - ds-identify: fix bug where filename expansion was left on.
709 - advertise network config v2 support (NETWORK_CONFIG_V2) in features.
710 - Bigstep: fix bug when executing in python3.
711 - Fix unit test when running in a system deployed with cloud-init.
712 - Bounce network interface for Azure when using the built-in path.
713 [Brent Baude] (LP: #1674685)
714
715 -- Scott Moser <smoser@ubuntu.com> Fri, 24 Mar 2017 16:50:56 -0400
716
717cloud-init (0.7.9-68-gef18b8ac-0ubuntu1) zesty; urgency=medium
718
719 * New upstream snapshot.
720 - cloudinit.net: add network config v2 parsing and rendering [Ryan Harper]
721 - net: Fix incorrect call to isfile [Joshua Powers] (LP: #1674317)
722
723 -- Scott Moser <smoser@ubuntu.com> Mon, 20 Mar 2017 16:21:55 -0400
724
725cloud-init (0.7.9-66-g5beecdf8-0ubuntu1) zesty; urgency=medium
726
727 * New upstream snapshot.
728 - net: add renderers for automatically selecting the renderer.
729 - doc: fix config drive doc with regard to unpartitioned disks.
730 (LP: #1673818)
731 - test: Adding integratiron test for password as list [Joshua Powers]
732 - render_network_state: switch arguments around, do not require target
733 - support 'loopback' as a device type.
734 - Integration Testing: improve testcase subclassing [Wesley Wiedenmeier]
735 - gitignore: adding doc/rtd_html [Joshua Powers]
736 - doc: add instructions for running integration tests via tox.
737 [Joshua Powers]
738 - test: avoid differences in 'date' output due to daylight savings.
739 - Fix chef config module in omnibus install. [Jeremy Melvin] (LP: #1583837)
740 - Add feature flags to cloudinit.version. [Wesley Wiedenmeier]
741 - tox: add a citest environment
742 - Support chpasswd/list being a list in addition to a string.
743 [Sergio Lystopad] (LP: #1665694)
744 - doc: Fix configuration example for cc_set_passwords module.
745 [Sergio Lystopad] (LP: #1665773)
746 - net: support both ipv4 and ipv6 gateways in sysconfig.
747 [Lars Kellogg-Stedman] (LP: #1669504)
748 - net: do not raise exception for > 3 nameservers
749 [Lars Kellogg-Stedman] (LP: #1670052)
750
751 -- Scott Moser <smoser@ubuntu.com> Fri, 17 Mar 2017 21:41:40 -0400
752
753cloud-init (0.7.9-48-g1c795b9-0ubuntu1) zesty; urgency=medium
754
755 * New upstream snapshot.
756 - ds-identify: report cleanups for config and exit value. (LP: #1669949)
757
758 -- Scott Moser <smoser@ubuntu.com> Mon, 06 Mar 2017 14:56:28 -0500
759
760cloud-init (0.7.9-47-gc81ea53-0ubuntu1) zesty; urgency=medium
761
762 * debian/rules: install Z99-cloudinit-warnings.sh to /etc/profile.d
763 * New upstream snapshot.
764 - Support warning if the used datasource is not in ds-identify's list
765 (LP: #1669675)
766 - Z99-cloudinit-warnings: Add profile.d script for showing warnings on
767 login.
768 - Z99-cloud-locale-test.sh: convert tabs to spaces, remove unneccesary
769 execute bit in permissions.
770 - tools/ds-identify: look at cloud.cfg when looking for ec2 strict_id.
771 - tools/ds-identify: fix bug that would mistakingly enable vmware guest
772 customization.
773
774 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Mar 2017 01:56:19 -0500
775
776cloud-init (0.7.9-38-g83606ae-0ubuntu1) zesty; urgency=medium
777
778 * New upstream snapshot.
779 - tools/ds-identify: ovf identify vmware guest customization.
780 - Identify Brightbox as an Ec2 datasource user. (LP: #1661693)
781 - DatasourceEc2: add warning message when not on AWS.
782 - ds-identify: add reading of datasource/Ec2/strict_id
783 - tools/ds-identify: add support for 'found' or 'maybe' contributing
784 config.
785 - tools/ds-identify: read the seed directory on Ec2
786 - tools/ds-identify: use quotes in local declarations.
787 - tools/ds-identify: fix documentation of policy setting in a comment.
788
789 -- Scott Moser <smoser@ubuntu.com> Fri, 24 Feb 2017 22:53:53 -0500
790
791cloud-init (0.7.9-30-gf4e8eb0-0ubuntu1) zesty; urgency=medium
792
793 * New upstream snapshot.
794 - ds-identify: only run once per boot unless --force is given.
795 - net: correct errors in cloudinit/net/sysconfig.py
796 [Lars Kellogg-Stedman] (LP: #1665441)
797 - ec2_utils: fix MetadataLeafDecoder that returned bytes on empty.
798
799 -- Scott Moser <smoser@ubuntu.com> Fri, 17 Feb 2017 17:05:47 -0500
800
801cloud-init (0.7.9-26-g1cd8cfa-0ubuntu1) zesty; urgency=medium
802
803 * New upstream snapshot.
804 - apply the runtime configuration written by ds-identify.
805
806 -- Scott Moser <smoser@ubuntu.com> Tue, 14 Feb 2017 14:45:25 -0500
807
808cloud-init (0.7.9-25-g65529b6-0ubuntu1) zesty; urgency=medium
809
810 * New upstream snapshot.
811 - ds-identify: fix checking for filesystem label (LP: #1663735)
812 - ds-identify: read ds=nocloud properly (LP: #1663723)
813
814 -- Scott Moser <smoser@ubuntu.com> Fri, 10 Feb 2017 15:25:17 -0500
815
816cloud-init (0.7.9-23-g0df21b6-0ubuntu1) zesty; urgency=medium
817
818 * New upstream snapshot.
819 - support nova-lxd by reading platform from environment of pid 1.
820 (LP: #1661797)
821 - ds-identify: change aarch64 to use the default for non-dmi systems.
822 that default is to enable cloud-init even if no datasources are
823 explicitly found.
824 - Remove style checking during build and add latest style checks to tox
825 [Joshua Powers] (LP: #1652329)
826 - code-style: make master pass pycodestyle (2.3.1) cleanly.
827
828 -- Scott Moser <smoser@ubuntu.com> Thu, 09 Feb 2017 13:18:47 -0500
829
830cloud-init (0.7.9-19-ge987092-0ubuntu2) zesty; urgency=medium
831
832 * debian/update-grub-legacy-ec2: fix shell syntax error. (LP: #1662221)
833
834 -- Scott Moser <smoser@ubuntu.com> Mon, 06 Feb 2017 11:14:11 -0500
835
836cloud-init (0.7.9-19-ge987092-0ubuntu1) zesty; urgency=medium
837
838 * New upstream snapshot.
839 - manual_cache_clean: When manually cleaning touch a file in instance dir.
840 - Add tools/ds-identify to identify datasources available.
841 - Fix small typo and change iso-filename for consistency [Robin Naundorf]
842 - Fix eni rendering of multiple IPs per interface
843 [Ryan Harper] (LP: #1657940)
844 - tools/mock-meta: support python2 or python3 and ipv6 in both.
845 - tests: remove executable bit on test_net, so it runs, and fix it.
846 - tests: No longer monkey patch httpretty for python 3.4.2
847 - Add 3 ecdsa-sha2-nistp* ssh key types now that they are standardized
848 [Lars Kellogg-Stedman] (LP: #1658174)
849 - reset httppretty for each test [Lars Kellogg-Stedman] (LP: #1658200)
850 - build: fix running Make on a branch with tags other than master
851 - EC2: Do not cache security credentials on disk
852 [Andrew Jorgensen] (LP: #1638312)
853 - doc: Fix typos and clarify some aspects of the part-handler
854 [Erik M. Bray]
855 - doc: add some documentation on OpenStack datasource.
856 - OpenStack: Use timeout and retries from config in get_data.
857 [Lars Kellogg-Stedman] (LP: #1657130)
858 - Fixed Misc issues related to VMware customization. [Sankar Tanguturi]
859 - Fix minor docs typo: perserve > preserve [Jeremy Bicha]
860 - Use dnf instead of yum when available [Lars Kellogg-Stedman]
861 (LP: #1647118)
862 - validate-yaml: use python rather than explicitly python3
863 - Get early logging logged, including failures of cmdline url.
864
865 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Feb 2017 21:54:39 -0500
866
867cloud-init (0.7.9-0ubuntu2) zesty; urgency=medium
868
869 * debian/copyright: update License field to include Apache.
870 * debian/update-grub-legacy-ec2: fix to include kernels whose config
871 has CONFIG_XEN=y (LP: #1379080).
872
873 -- Scott Moser <smoser@ubuntu.com> Fri, 20 Jan 2017 10:01:42 -0500
874
875cloud-init (0.7.9-0ubuntu1) zesty; urgency=medium
876
877 * New upstream snapshot.
878 - release 0.7.9
879 - doc: adjust headers in tests documentation for consistency.
880 - integration test: initial commit of integration test framework
881 [Wesley Wiedenmeier]
882 - LICENSE: Allow dual licensing GPL-3 or Apache 2.0 [Jon Grimm]
883 - Fix config order of precedence, putting kernel command line over system.
884 [Wesley Wiedenmeier] (LP: #1582323)
885 - Update the list of valid ssh keys. [Michael Felt]
886 - network: add ENI unit test for statically rendered routes.
887 - set_hostname: avoid erroneously appending domain to fqdn
888 [Lars Kellogg-Stedman] (LP: #1647910)
889 - doc: change 'nobootwait' to 'nofail' in docs [Anhad Jai Singh]
890 - Replace an expired bit.ly link in code comment.
891
892 -- Scott Moser <smoser@ubuntu.com> Fri, 23 Dec 2016 12:54:50 -0500
893
894cloud-init (0.7.8-68-gca3ae67-0ubuntu1) zesty; urgency=medium
895
896 * New upstream snapshot.
897 - user-groups: fix bug when groups was provided as string and had spaces
898 (LP: #1354694)
899
900 -- Scott Moser <smoser@ubuntu.com> Mon, 19 Dec 2016 12:35:13 -0500
901
902cloud-init (0.7.8-67-gc9c9197-0ubuntu1) zesty; urgency=medium
903
904 * debian/cherry-pick: add utility for cherry picking commits from upstream
905 into patches in debian/patches.
906 * New upstream snapshot.
907 - mounts: use mount -a again to accomplish mounts (LP: #1647708)
908 - CloudSigma: Fix bug where datasource was not loaded in local search. (LP: #1648380)
909 - when adding a user, strip whitespace from group list (LP: #1354694)
910 - fix decoding of utf-8 chars in yaml test
911 - Replace usage of sys_netdev_info with read_sys_net (LP: #1625766)
912 - fix problems found in python2.6 test.
913
914 -- Scott Moser <smoser@ubuntu.com> Sun, 11 Dec 2016 21:22:57 -0500
915
916cloud-init (0.7.8-61-g2d2ec70-0ubuntu1) zesty; urgency=medium
917
918 * debian/grub-legacy-ec2.install: install post(inst|rm) files correctly.
919 [Simon Deziel] (LP: #1581416)
920 * New upstream snapshot.
921 - OpenStack: extend physical types to include hyperv, hw_veb, vhost_user. [Scott Moser] (LP: #1642679)
922 - tests: fix assumptions that expected no eth0 in system. [Scott Moser] (LP: #1644043)
923 - net/cmdline: Consider ip= or ip6= on command line not only ip= [Scott Moser] (LP: #1639930)
924 - Just use file logging by default [Joshua Harlow] (LP: #1643990)
925 - Improve formatting for ProcessExecutionError [Wesley Wiedenmeier]
926 - flake8: fix trailing white space [Scott Moser]
927 - Doc: various documentation fixes [Sean Bright]
928 - cloudinit/config/cc_rh_subscription.py: Remove repos before adding [Brent Baude]
929 - packages/redhat: fix rpm spec file. [Scott Moser]
930 - main: set TZ in environment if not already set. [Ryan Harper]
931 - Azure: No longer rely on walinux agent. [Scott Moser] (LP: #1538522)
932 - disk_setup: Use sectors as unit when formatting MBR disks with sfdisk. [Daniel Watkins] (LP: #1460715)
933
934 -- Scott Moser <smoser@ubuntu.com> Mon, 28 Nov 2016 16:08:09 -0500
935
936cloud-init (0.7.8-49-g9e904bb-0ubuntu1) zesty; urgency=medium
937
938 * debian/cloud-init.postinst: update /etc/fstab on Azure to fix
939 future resize operations. (LP: #1611074)
940 * New upstream snapshot.
941 - Add activate_datasource, for datasource specific code paths.
942 Use that on Azure to handle re-formatting of ephemeral disk.
943 (LP: #1611074)
944
945 -- Scott Moser <smoser@ubuntu.com> Fri, 18 Nov 2016 16:37:34 -0500
946
947cloud-init (0.7.8-48-g9d826b8-0ubuntu1) zesty; urgency=medium
948
949 * New upstream snapshot.
950 - systemd: cloud-init-local use RequiresMountsFor=/var/lib/cloud
951 (LP: #1642062)
952 - systemd: cloud-init remove After=systemd-networkd-wait-online
953 - systemd: cloud-init-local change Before basic to sysinit
954
955 -- Scott Moser <smoser@ubuntu.com> Tue, 15 Nov 2016 17:21:34 -0500
956
957cloud-init (0.7.8-45-g584b843-0ubuntu1) zesty; urgency=medium
958
959 * New upstream snapshot.
960 - pep8: fix style errors reported by pycodestyle 2.1.0 [Scott Moser]
961 - systemd: drop both Wants and After local-fs.target [Scott Moser]
962 - systemd: networking service adjustments. (LP: #1636912)
963 - systemd: replace Before=basic.target, dbus.target with sysinit.target
964 (LP: #1629797)
965 - doc: Add documentation on stages of boot.
966 - doc: make the RST files consistently formated and other improvements.
967 - Ec2: fix syntax and tox in previous commit.
968 - Ec2: protect against non-dictionary in block-device-mapping.
969 - doc: fixed example to not overwrite /etc/hosts [Chris Glass]
970 - Doc: fix spelling / typos in ca_certs and scripts_vendor.
971
972 -- Scott Moser <smoser@ubuntu.com> Thu, 10 Nov 2016 21:04:09 -0500
973
974cloud-init (0.7.8-35-gc24187e-0ubuntu1) zesty; urgency=medium
975
976 * New upstream snapshot.
977 - pyflakes: fix issue with pyflakes 1.3 found in ubuntu zesty-proposed.
978
979 -- Scott Moser <smoser@ubuntu.com> Mon, 07 Nov 2016 13:31:30 -0500
980
981cloud-init (0.7.8-34-ga1cdebd-0ubuntu1) zesty; urgency=medium
982
983 * New upstream snapshot.
984 - net/cmdline: Further adjustments to ipv6 support [LaMont Jones]
985 (LP: #1621615)
986 - Add coverage dependency to bddeb to fix package build.
987 - doc: improve HACKING.rst file
988 - dmidecode: Allow dmidecode to be used on aarch64 [Robert Schweikert]
989 - AliYun: Add new datasource for Ali-Cloud ECS [kaihuan.pkh]
990 - Add coverage collection to tox unit tests. [Joshua Powers]
991
992 -- Scott Moser <smoser@ubuntu.com> Fri, 04 Nov 2016 11:03:46 -0400
993
994cloud-init (0.7.8-28-gf7a5756-0ubuntu1) zesty; urgency=medium
995
996 * New upstream snapshot.
997 - cc_users_groups: fix remaing call to ds.normalize_user_groups
998 [Ryan Harper]
999
1000 -- Scott Moser <smoser@ubuntu.com> Wed, 26 Oct 2016 09:06:03 -0400
1001
1002cloud-init (0.7.8-27-g29348af-0ubuntu1) zesty; urgency=medium
1003
1004 * debian/cloud-init.templates: enable DigitalOcean by default [Ben Howard]
1005 * New upstream snapshot.
1006 - disk-config: udev settle after partitioning in gpt format. (LP: #1626243)
1007 - unittests: do not read system /etc/cloud/cloud.cfg.d (LP: #1635350)
1008 - Add documentation for logging features. [Wesley Wiedenmeier]
1009 - Add support for snap create-user on Ubuntu Core images. [Ryan Harper]
1010 (LP: #1619393)
1011 - Fix sshd restarts for rhel distros. [Jim Gorz] (LP: #1470433)
1012 - OpenNebula: replace 'ip' parsing with cloudinit.net usage.
1013 - Fix python2.6 things found running in centos 6.
1014 - Move user/group functions to new ug_util file [Joshua Harlow]
1015 - DigitalOcean: enable usage of data source by default.
1016 - update Gentoo initscripts to run in the correct order [Matthew Thode]
1017 - MAAS: improve the main of datasource to look at kernel cmdline config.
1018 - tests: silence the Cheetah UserWarning about NameMapper C version.
1019
1020 -- Scott Moser <smoser@ubuntu.com> Tue, 25 Oct 2016 17:06:59 -0400
1021
1022cloud-init (0.7.8-15-g6e45ffb-0ubuntu1) yakkety; urgency=medium
1023
1024 * New upstream snapshot.
1025 - systemd: Run cloud-init.service Before dbus.socket not dbus.target
1026 [Daniel Watkins] (LP: #1629797).
1027
1028 -- Scott Moser <smoser@ubuntu.com> Fri, 07 Oct 2016 12:41:38 -0400
1029
1030cloud-init (0.7.8-14-g94fd35e-0ubuntu1) yakkety; urgency=medium
1031
1032 * New upstream snapshot.
1033 - systemd: run cloud-init.service Before dbus.service (LP: #1629797)
1034 - unittests: fix use of mock 2.0 'assert_called' when running make check
1035 [Ryan Harper]
1036 - Improve module documentation and doc cleanup. [Wesley Wiedenmeier]
1037
1038 -- Scott Moser <smoser@ubuntu.com> Tue, 04 Oct 2016 16:46:05 -0400
1039
1040cloud-init (0.7.8-11-g02f6c4b-0ubuntu1) yakkety; urgency=medium
1041
1042 * New upstream snapshot.
1043 - lxd: Update network config for LXD 2.3 [Stéphane Graber]
1044 - DigitalOcean: use meta-data for network configruation [Ben Howard]
1045 - ntp: move to run after apt configuration (LP: #1628337)
1046
1047 -- Scott Moser <smoser@ubuntu.com> Thu, 29 Sep 2016 14:30:15 -0400
1048
1049cloud-init (0.7.8-8-g0439d8a-0ubuntu1) yakkety; urgency=medium
1050
1051 * New upstream snapshot.
1052 - Decode unicode types in decode_binary [Robert Schweikert]
1053 - systemd: Ensure that cloud-init-local happens before NetworkManager
1054 - Allow ephemeral drive to be unpartitioned [Paul Meyer]
1055 - subp: add 'update_env' argument
1056
1057 -- Scott Moser <smoser@ubuntu.com> Fri, 23 Sep 2016 16:51:27 -0400
1058
1059cloud-init (0.7.8-4-g970dbd1-0ubuntu1) yakkety; urgency=medium
1060
1061 * New upstream snapshot.
1062 - net: support reading ipv6 dhcp config from initramfs [LaMont Jones]
1063 (LP: #1621615)
1064
1065 -- Scott Moser <smoser@ubuntu.com> Wed, 21 Sep 2016 11:56:23 -0400
1066
1067cloud-init (0.7.8-3-g80f5ec4-0ubuntu1) yakkety; urgency=medium
1068
1069 * New upstream snapshot.
1070 - Adjust mounts and disk configuration for systemd. (LP: #1611074)
1071 - dmidecode: run dmidecode only on i?86 or x86_64 arch. [Robert Schweikert]
1072
1073 -- Scott Moser <smoser@ubuntu.com> Tue, 20 Sep 2016 13:59:20 -0400
1074
1075cloud-init (0.7.8-1-g3705bb5-0ubuntu1) yakkety; urgency=medium
1076
1077 * New upstream release 0.7.8.
1078 * New upstream snapshot.
1079 - systemd: put cloud-init.target After multi-user.target (LP: #1623868)
1080
1081 -- Scott Moser <smoser@ubuntu.com> Thu, 15 Sep 2016 09:47:11 -0400
1082
1083cloud-init (0.7.7-31-g65ace7b-0ubuntu1) yakkety; urgency=medium
1084
1085 * New upstream snapshot.
1086 - Allow link type of null in network_data.json [Jon Grimm] (LP: #1621968)
1087 - DataSourceOVF: fix user-data as base64 with python3 (LP: #1619394)
1088
1089 -- Scott Moser <smoser@ubuntu.com> Mon, 12 Sep 2016 14:56:42 -0400
1090
1091cloud-init (0.7.7-28-g34a26f7-0ubuntu2) yakkety; urgency=medium
1092
1093 * debian/control: fix missing dependency on python3-serial,
1094 and make SmartOS datasource work.
1095
1096 -- Scott Moser <smoser@ubuntu.com> Fri, 09 Sep 2016 21:22:13 -0400
1097
1098cloud-init (0.7.7-28-g34a26f7-0ubuntu1) yakkety; urgency=medium
1099
1100 * New upstream snapshot.
1101 - systemd: Better support package and upgrade.
1102 (LP: #1576692, #1621336)
1103 - tests: cleanup tempdirs in apt_source tests
1104
1105 -- Scott Moser <smoser@ubuntu.com> Fri, 09 Sep 2016 16:01:13 -0400
1106
1107cloud-init (0.7.7-26-g058dd75-0ubuntu1) yakkety; urgency=medium
1108
1109 * New upstream snapshot.
1110 - apt config conversion: treat empty string as not provided. (LP: #1621180)
1111 - Fix typo in default keys for phone_home [Roland Sommer] (LP: #1607810)
1112 - salt minion: update default pki directory for newer salt minion.
1113 (LP: #1609899)
1114 - bddeb: add --release flag to specify the release in changelog.
1115
1116 -- Scott Moser <smoser@ubuntu.com> Thu, 08 Sep 2016 09:36:52 -0400
1117
1118cloud-init (0.7.7-22-g763f403-0ubuntu1) yakkety; urgency=medium
1119
1120 * New upstream snapshot.
1121 - apt-config: allow both old and new format to be present.
1122 [Christian Ehrhardt] (LP: #1616831)
1123 - python2.6: fix dict comprehension usage in _lsb_release. [Joshua Harlow]
1124 - Add a module that can configure spacewalk. [Joshua Harlow]
1125 - add install option for openrc [Matthew Thode]
1126 - Generate a dummy bond name for OpenStack (LP: #1605749)
1127 * debian/control, debian/README.source: update to reference git.
1128 * debian/new-upstream-snapshot: small fixes.
1129
1130 -- Scott Moser <smoser@ubuntu.com> Fri, 26 Aug 2016 15:22:13 -0400
1131
1132cloud-init (0.7.7-17-g40a2f62-0ubuntu1) yakkety; urgency=medium
1133
1134 * New upstream snapshot.
1135 - network: fix get_interface_mac for bond slave, read_sys_net for ENOTDIR
1136 - azure dhclient-hook cleanups
1137 - Minor cleanups to atomic_helper and add unit tests.
1138 - Fix Gentoo net config generation [Matthew Thode]
1139 * debian/control: drop very old meta-package ec2-init
1140 * debian/rules, debian/cloud-init.install: remove install file
1141 and use --destdir=debian/cloud-init. (LP: #1615745)
1142 * debian/dirs: remove obsolete / unused file.
1143
1144 -- Scott Moser <smoser@ubuntu.com> Mon, 22 Aug 2016 17:02:56 -0400
1145
1146cloud-init (0.7.7-13-g41271bd-0ubuntu1) yakkety; urgency=medium
1147
1148 * New upstream snapshot.
1149 - distros: fix get_primary_arch method use of os.uname [Andrew Jorgensen]
1150 - Apt: add new apt configuration format [Christian Ehrhardt]
1151 - Get Azure endpoint server from DHCP client [Brent Baude]
1152 * debian/new-upstream-snapshot: update to use git and packaging branches.
1153
1154 -- Scott Moser <smoser@ubuntu.com> Thu, 18 Aug 2016 17:11:51 -0400
1155
1156cloud-init (0.7.7-10-gbc2c326-0ubuntu1) yakkety; urgency=medium
1157
1158 * New upstream snapshot:
1159 - DigitalOcean: use the v1.json endpoint
1160 - MAAS: add vendor-data support (LP: #1612313)
1161 - Upgrade the minimum configobj package to one new enough to work
1162 - ConfigDrive: recognize 'tap' as a link type. (LP: #1610784)
1163 - NoCloud: fix bug providing network-interfaces via meta-data.
1164 (LP: #1577982)
1165 - Add distro tags on config modules that should have it
1166 - add ntp config module
1167 - SmartOS: more improvements for network configuration
1168
1169 -- Scott Moser <smoser@ubuntu.com> Fri, 12 Aug 2016 17:18:01 -0400
1170
1171cloud-init (0.7.7-0ubuntu1) yakkety; urgency=medium
1172
1173 * New Upstream release.
1174
1175 -- Scott Moser <smoser@ubuntu.com> Wed, 10 Aug 2016 01:48:32 -0400
1176
1177cloud-init (0.7.7~git1029-gb56d7a1-0ubuntu1) yakkety; urgency=medium
1178
1179 * New Upstream snapshot.
1180 - mcollective: add tests, cleanups and bug fix when no config in /etc.
1181 - Move upstream revision control to git. [Lars Kellogg-Stedman]
1182 - Adjust unit tests to address newer requests have strong type validation.
1183 * debian/control: update Standards-Version to 3.9.8
1184 * debian/rules: fix PYVER in environment to sync with upstream changes.
1185
1186 -- Scott Moser <smoser@ubuntu.com> Tue, 09 Aug 2016 01:16:28 -0400
1187
1188cloud-init (0.7.7~bzr1256-0ubuntu1) yakkety; urgency=medium
1189
1190 * New upstream snapshot.
1191 - distros/debian.py: fix eni renderer to not render .link files
1192 - fixes for execution in python2.6.
1193 - ConfigDrive: fix writing of 'injected' files and legacy networking
1194 (LP: #1602373)
1195 - improvements to /etc/network/interfaces rendering including rendering
1196 of 'lo' devices and sorting attributes within a interface section.
1197 - fix mcollective module that was completely broken if using python3
1198 (LP: #1597699)
1199
1200 -- Scott Moser <smoser@ubuntu.com> Thu, 14 Jul 2016 14:54:05 -0400
1201
1202cloud-init (0.7.7~bzr1246-0ubuntu1) yakkety; urgency=medium
1203
1204 * New upstream snapshot.
1205 - fix restoring from a datasource that did not have dsmode (LP: #1596690)
1206
1207 -- Scott Moser <smoser@ubuntu.com> Mon, 27 Jun 2016 16:28:39 -0400
1208
1209cloud-init (0.7.7~bzr1245-0ubuntu1) yakkety; urgency=medium
1210
1211 * New upstream snapshot.
1212 - user_data: fix error when user-data is not utf-8 decodable (LP: #1532072)
1213 - write_files: if no permissions are provided, use the default without
1214 logging a warning.
1215
1216 -- Scott Moser <smoser@ubuntu.com> Wed, 22 Jun 2016 15:11:33 -0400
1217
1218cloud-init (0.7.7~bzr1243-0ubuntu1) yakkety; urgency=medium
1219
1220 * New upstream snapshot.
1221 - do not render systemd.link files (LP: #1594546)
1222
1223 -- Scott Moser <smoser@ubuntu.com> Mon, 20 Jun 2016 17:14:34 -0400
1224
1225cloud-init (0.7.7~bzr1242-0ubuntu1) yakkety; urgency=medium
1226
1227 * d/control: Build-Depends on python3-unittest2
1228 * New upstream snapshot.
1229 - DataSourceNoCloud: fix stack trace on reboot, default to dsmode=net
1230 (LP: #1592505)
1231 - support network rendering to sysconfig (for centos and RHEL)
1232 - fix errors reported by pylint
1233 - move 'main' into cloudinit.cmd for easier testing. use
1234 setuptools entry_points for creating executable.
1235 - Remove trailing dot from GCE metadata URL (LP: #1581200)
1236 - Change missing Cheetah log warning to debug [Andrew Jorgensen]
1237 - make networking config provided in system config override datasource.
1238 (LP: #1590104)
1239
1240 -- Scott Moser <smoser@ubuntu.com> Thu, 16 Jun 2016 00:07:12 -0400
1241
1242cloud-init (0.7.7~bzr1227-0ubuntu1) yakkety; urgency=medium
1243
1244 * New upstream snapshot.
1245 - fix one more unit test to run inside buildd.
1246
1247 -- Scott Moser <smoser@ubuntu.com> Sat, 04 Jun 2016 20:55:07 -0400
1248
1249cloud-init (0.7.7~bzr1226-0ubuntu1) yakkety; urgency=medium
1250
1251 * New upstream snapshot.
1252 - fix unit tests to run inside buildd.
1253
1254 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Jun 2016 23:01:16 -0400
1255
1256cloud-init (0.7.7~bzr1225-0ubuntu1) yakkety; urgency=medium
1257
1258 * debian/cloud-init.templates fix capitalisation in template so
1259 dpkg-reconfigure works to select OpenStack. (LP: #1575727)
1260 * New upstream snapshot.
1261 - improve network configuration. Support DreamCompute, RDO openstack
1262 and SmartOS networking
1263 - remove blocking udev rules (LP: #1577844, LP: #1571761)
1264 - support for renaming devices in a container (LP: #1579130).
1265 - Apt sources configuration improvements (LP: #1574113)
1266 - kernel command line: override all local settings (LP: #1582323)
1267 - fix timestamp in reporting events.
1268
1269 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Jun 2016 16:38:55 -0400
1270
1271cloud-init (0.7.7~bzr1215-0ubuntu1) yakkety; urgency=medium
1272
1273 * debian/new-upstream-snapshot: minor change supporting revision
1274 passed in as an argument.
1275 * New upstream snapshot.
1276 - Paths: fix instance path if datasource's id has a '/'. (LP: #1575938)
1277 - Config Drive: fix check_instance_id signature. (LP: #1575055)
1278 - cloudstack: Only use DHCPv4 lease files as a datasource (LP: #1576273)
1279
1280 -- Scott Moser <smoser@ubuntu.com> Fri, 29 Apr 2016 12:37:48 -0400
1281
1282cloud-init (0.7.7~bzr1212-0ubuntu1) xenial; urgency=medium
1283
1284 * New upstream snapshot.
1285 - fix iscsi root by not writing interface as 'auto' when networking
1286 information comes from kernel command line (LP: #1568637)
1287 - apply networking less often, when possible only on first
1288 instance boot (LP: #1571004).
1289 - no longer delete /etc/network/interfaces.d/eth0.cfg on
1290 ubuntu (LP: #1563487)
1291
1292 -- Scott Moser <smoser@ubuntu.com> Fri, 15 Apr 2016 16:25:43 -0400
1293
1294cloud-init (0.7.7~bzr1209-0ubuntu1) xenial; urgency=medium
1295
1296 * New upstream snapshot.
1297 - fallback net config: do not consider devices starting with
1298 'veth' (LP: #1569064)
1299
1300 -- Scott Moser <smoser@ubuntu.com> Thu, 14 Apr 2016 16:24:38 -0400
1301
1302cloud-init (0.7.7~bzr1208-0ubuntu1) xenial; urgency=medium
1303
1304 * New upstream snapshot.
1305 - phone_home: allow usage of fqdn (LP: #1566824) [Ollie Armstrong]
1306 - chef: straighten out validation_cert and validation_key (LP: #1568940)
1307 - skip bridges when generating fallback networking (LP: #1569974)
1308 - rh_subscription: only check subscription if configured (LP: #1536706)
1309 - SmartOS, CloudSigma: fix error when dmi data is not availble
1310 (LP: #1569469)
1311 - DataSourceNoCloud: fix check_instance_id when upgraded (LP: #1568150)
1312 - lxd: adds basic support for dpkg based lxd-bridge
1313 configuration. (LP: #1569018)
1314 - centos: Ensure that a resolve conf object is written as a string.
1315 (LP: #1479988)
1316
1317 -- Scott Moser <smoser@ubuntu.com> Wed, 13 Apr 2016 13:19:03 -0400
1318
1319cloud-init (0.7.7~bzr1200-0ubuntu1) xenial; urgency=medium
1320
1321 * New upstream snapshot.
1322 - fix adding of users when no group is specified (LP: #1562918)
1323 - fix write_files with compressed content (LP: #1565638)
1324 - systemd: do not specify After of obsolete syslog.target (LP: #1536964)
1325 - chef: fix chef installation from gems (LP: #1553345)
1326 - disk_setup: correctly send force to mkfs on block devices (LP: #1548772)
1327 - locale: list unsupported environment settings in warning (LP: #1558069)
1328 - fix NoCloud and other datasources if no datasource config (LP: #1514407)
1329
1330 -- Scott Moser <smoser@ubuntu.com> Wed, 06 Apr 2016 13:07:27 -0400
1331
1332cloud-init (0.7.7~bzr1192-0ubuntu2) xenial; urgency=medium
1333
1334 [Logan Rosen]
1335 * debian/cloud-init.postinst: fix shell syntax in upgrade (LP: #1564187)
1336
1337 -- Scott Moser <smoser@ubuntu.com> Thu, 31 Mar 2016 10:09:09 -0400
1338
1339cloud-init (0.7.7~bzr1192-0ubuntu1) xenial; urgency=medium
1340
1341 * New upstream snapshot.
1342 - Misc fixes for VMware Support.
1343 - network config improvements:
1344 - do not raise exception on non-debian if network config is found.
1345 - apply network config in 'cloud-init --local' even if there is
1346 no datasource found.
1347 - do not write 70-persistent-net.rules only systemd .link files.
1348 - improve how cloud-init-wait waits: remove the check and sleep
1349 loop and replace it with 'udevadm settle'.
1350
1351 -- Scott Moser <smoser@ubuntu.com> Tue, 29 Mar 2016 16:34:25 -0400
1352
1353cloud-init (0.7.7~bzr1189-0ubuntu1) xenial; urgency=medium
1354
1355 * d/control: adjust build dependency as python3-pyflakes in xenial
1356 now provides python3 modules for pyflakes.
1357 * d/cloud-init.install, d/control, d/dirs, d/grub-legacy-ec2.install:
1358 run wrap-and-sort
1359 * d/cloud-init.install: add lib/udev/ files.
1360 * d/cloud-init.postinst: touch /var/lib/cloud/data/upgraded-network
1361 if upgrading from version that did not have network support.
1362 * New upstream snapshot.
1363 * initial support for support network configuration in cloud-init --local
1364 * do not rely on network metadata service on every boot for
1365 ConfigDrive Openstack Azure (LP: #1553815)
1366
1367 -- Scott Moser <smoser@ubuntu.com> Thu, 24 Mar 2016 17:36:40 -0400
1368
1369cloud-init (0.7.7~bzr1182-0ubuntu1) xenial; urgency=medium
1370
1371 * New upstream snapshot.
1372 * systemd changes enforcing intended ordering (cloud-init-local.service
1373 before networking and cloud-init.service before it comes up).
1374 * when reading dmidecode data, return found but unset value as "" rather
1375 than failing to decode that value.
1376 * add default user to 'lxd' group and create groups when necessary
1377 (LP: #1539317)
1378 * No longer run pollinate in seed_random (LP: #1554152)
1379 * Enable BigStep data source.
1380
1381 -- Scott Moser <smoser@ubuntu.com> Mon, 14 Mar 2016 09:58:56 -0400
1382
1383cloud-init (0.7.7~bzr1176-0ubuntu1) xenial; urgency=medium
1384
1385 * d/README.source, d/new-upstream-snapshot: simplify the README.source
1386 with a script.
1387 * d/rules: support DEB_BUILD_OPTIONS=nocheck and remove unused code.
1388 * d/rules: make tests with python3
1389 * d/control: add pep8 as a build depends
1390 * d/cloud-init.preinst, d/cloud-init.postinst adjust upgrade path
1391 to adjust systemd jobs that put cloud-init unit jobs directly
1392 in multi-user.target.
1393 * New upstream snapshot.
1394 * Add Image Customization Parser for VMware vSphere Hypervisor Support.
1395 Disabled by default. [Sankar Tanguturi]
1396 * lxd: add initial support for setting up lxd using 'lxd init'
1397 * Handle escaped quotes in WALinuxAgentShim.find_endpoint (LP: #1488891)
1398 * timezone: use a symlink when updating /etc/localtime (LP: #1543025)
1399 * enable more code testing in 'make check'
1400 * Added Bigstep datasource [Daniel Watkins]
1401 * Enable password changing via a hashed string [Alex Sirbu]
1402
1403 -- Scott Moser <smoser@ubuntu.com> Fri, 04 Mar 2016 15:44:02 -0500
1404
1405cloud-init (0.7.7~bzr1160-0ubuntu1) xenial; urgency=medium
1406
1407 * New upstream snapshot.
1408 * SmartOS: Add support for Joyent LX-Brand Zones (LP: #1540965)
1409 * systemd/power_state: fix power_state when cloud-final exited failure
1410 (LP: #1449318)
1411
1412 -- Scott Moser <smoser@ubuntu.com> Thu, 04 Feb 2016 17:22:36 -0500
1413
1414cloud-init (0.7.7~bzr1156-0ubuntu2) xenial; urgency=medium
1415
1416 * debian/cloud-init.postinst, systemd_detect_virt.patch: Call
1417 systemd-detect-virt instead of the Ubuntu specific running-in-container
1418 wrapper. (LP: #1539016)
1419
1420 -- Martin Pitt <martin.pitt@ubuntu.com> Thu, 28 Jan 2016 14:12:51 +0100
1421
1422cloud-init (0.7.7~bzr1156-0ubuntu1) xenial; urgency=medium
1423
1424 * New upstream snapshot.
1425 * d/cloud-init.preinst: migrate Azure instance ID from old ID to stable
1426 ID (LP: #1506187).
1427
1428 -- Ben Howard <ben.howard@ubuntu.com> Tue, 17 Nov 2015 11:59:49 -0700
1429
1430cloud-init (0.7.7~bzr1155-0ubuntu1) xenial; urgency=medium
1431
1432 * New upstream snapshot.
1433 * cc_mounts: use 'nofail' rather than 'nobootwait' if system uses systemd.
1434 (LP: #1514485).
1435
1436 -- Scott Moser <smoser@ubuntu.com> Tue, 10 Nov 2015 12:35:31 -0500
1437
1438cloud-init (0.7.7~bzr1154-0ubuntu1) xenial; urgency=medium
1439
1440 * New upstream snapshot.
1441 * create the same /etc/apt/sources.list that is present in default server
1442 ISO installs. This change adds restricted, multiverse, and -backports
1443 (LP: #1177432).
1444
1445 -- Scott Moser <smoser@ubuntu.com> Thu, 05 Nov 2015 12:10:00 -0500
1446
1447cloud-init (0.7.7~bzr1149-0ubuntu1) wily; urgency=medium
1448
1449 * New upstream snapshot.
1450 azure: support extracting SSH key values from ovf-env.xml (LP: #1506244)
1451
1452 -- Scott Moser <smoser@ubuntu.com> Wed, 14 Oct 2015 20:38:45 -0400
1453
1454cloud-init (0.7.7~bzr1148-0ubuntu1) wily; urgency=medium
1455
1456 * New upstream snapshot.
1457 * support configuring and installing the Ubuntu fan driver (LP: #1504604)
1458
1459 -- Scott Moser <smoser@ubuntu.com> Fri, 09 Oct 2015 13:00:12 -0400
1460
1461cloud-init (0.7.7~bzr1147-0ubuntu1) wily; urgency=medium
1462
1463 * New upstream snapshot.
1464 * MAAS: fix oauth when system clock is bad (LP: #1499869)
1465
1466 -- Scott Moser <smoser@ubuntu.com> Tue, 29 Sep 2015 20:16:57 -0400
1467
1468cloud-init (0.7.7~bzr1146-0ubuntu2) wily; urgency=medium
1469
1470 * replace usage of python with python3 in postinst (LP: #1498493)
1471
1472 -- Scott Moser <smoser@ubuntu.com> Tue, 22 Sep 2015 09:49:01 -0400
1473
1474cloud-init (0.7.7~bzr1146-0ubuntu1) wily; urgency=medium
1475
1476 * New upstream snapshot.
1477 * make the webhook reporter post json data rather than
1478 urlencoded data (LP: #1496960)
1479
1480 -- Scott Moser <smoser@ubuntu.com> Thu, 17 Sep 2015 15:59:35 -0400
1481
1482cloud-init (0.7.7~bzr1145-0ubuntu1) wily; urgency=medium
1483
1484 * New upstream snapshot.
1485 * fix default builtin config of snappy to set ssh_enabled=auto.
1486
1487 -- Scott Moser <smoser@ubuntu.com> Tue, 15 Sep 2015 15:33:19 -0400
1488
1489cloud-init (0.7.7~bzr1144-0ubuntu1) wily; urgency=medium
1490
1491 * New upstream snapshot.
1492 [ Ben Howard ]
1493 * snappy: enable ssh on snappy if ssh keys are provided or
1494 password authentication is requested (LP: #1494816)
1495
1496 -- Scott Moser <smoser@ubuntu.com> Fri, 11 Sep 2015 17:00:16 -0400
1497
1498cloud-init (0.7.7~bzr1143-0ubuntu1) wily; urgency=medium
1499
1500 * New upstream snapshot.
1501 * NoCloud: fix consumption of vendor-data (LP: #1493453)
1502 * power_state: support power change only on 'condition'
1503
1504 -- Scott Moser <smoser@ubuntu.com> Thu, 10 Sep 2015 16:20:44 -0400
1505
1506cloud-init (0.7.7~bzr1141-0ubuntu1) wily; urgency=medium
1507
1508 * New upstream snapshot.
1509 * fix bug in cloud-init main preventing any usage.
1510
1511 -- Scott Moser <smoser@ubuntu.com> Thu, 03 Sep 2015 11:36:37 -0400
1512
1513cloud-init (0.7.7~bzr1140-0ubuntu1) wily; urgency=medium
1514
1515 * New upstream snapshot.
1516 * Handle symlink mount points in mount_cb (LP: #1490796).
1517 * sync curtin reporting changes back to cloud-init.
1518
1519 -- Scott Moser <smoser@ubuntu.com> Wed, 02 Sep 2015 16:50:54 -0400
1520
1521cloud-init (0.7.7~bzr1138-0ubuntu1) wily; urgency=medium
1522
1523 * New upstream snapshot.
1524 * MAAS: fixes to data source and OauthUrlHelper (LP: #1488507)
1525
1526 -- Scott Moser <smoser@ubuntu.com> Tue, 25 Aug 2015 15:28:06 -0400
1527
1528cloud-init (0.7.7~bzr1137-0ubuntu1) wily; urgency=medium
1529
1530 * New upstream snapshot.
1531 * swap: use fallocate to create swapfile for speedup. (LP: #1482994)
1532 * reporting: print handler fix.
1533
1534 -- Scott Moser <smoser@ubuntu.com> Wed, 12 Aug 2015 12:54:51 -0400
1535
1536cloud-init (0.7.7~bzr1135-0ubuntu1) wily; urgency=medium
1537
1538 * New upstream snapshot.
1539 * some stack traces fixed.
1540 * improved rsyslog/syslog config format
1541 * add reporting module for webhook or log reporting of events.
1542
1543 -- Scott Moser <smoser@ubuntu.com> Fri, 07 Aug 2015 17:16:51 -0400
1544
1545cloud-init (0.7.7~bzr1127-0ubuntu1) wily; urgency=medium
1546
1547 [ Scott Moser ]
1548 * d/README.source, debian/cherry-pick-rev: improve packaging tool
1549
1550 [ Daniel Watkins ]
1551 * d/cloud-init.templates: Include SmartOS data source in the default list
1552 and choices. (LP: #1398997)
1553
1554 [ Scott Moser ]
1555 * New upstream snapshot.
1556 * check for systemd using sd_booted symantics (LP: #1461201)
1557 * fix importing of gpg keys in python3 (LP: #1463373)
1558 * fix specification of devices to growpart (LP: #1465436)
1559 * reliably detect and use Azure disks using udev rules (LP: #1411582)
1560 * support selection of Ubuntu mirrors on GCE (LP: #1470890)
1561 * ssh: generate ed25519 host keys if supported (LP: #1461242)
1562 * test fixes and cleanups
1563 * fix reading of availability-zone on GCE (LP: #1470880)
1564 * fix cloudsigma datasource with python3 (LP: #1475215)
1565 * fix rightscale user-data
1566 * fix consumption of CloudStack passwords on newer CloudStack platforms
1567 (LP: #1440263, #1464253)
1568
1569 -- Scott Moser <smoser@ubuntu.com> Wed, 22 Jul 2015 17:06:18 -0400
1570
1571cloud-init (0.7.7~bzr1109-0ubuntu2) wily; urgency=medium
1572
1573 * d/control: cloud-init Recommends gdisk (LP: #1462521)
1574
1575 -- Scott Moser <smoser@ubuntu.com> Fri, 05 Jun 2015 16:33:38 -0400
1576
1577cloud-init (0.7.7~bzr1109-0ubuntu1) wily; urgency=medium
1578
1579 * New upstream snapshot.
1580 * Azure: Redact on-disk user password in /var/lib/ovf-env.xml
1581 (LP: #1311827)
1582 * EC2: be aware of eu-central-1 availability zone (LP: #1456684)
1583
1584 -- Scott Moser <smoser@ubuntu.com> Thu, 28 May 2015 10:54:45 -0400
1585
1586cloud-init (0.7.7~bzr1106-0ubuntu1) wily; urgency=medium
1587
1588 * New upstream snapshot.
1589 * Azure: remove strict dependency on walinux-agent, but still utilize
1590 it for the time being.
1591 * fix read_seeded that is used in seeding user-data and meta-data
1592 from additional locations (LP: #1455233)
1593 * fix bug preventing partitioning of disks in many cases. (LP: #1311463)
1594 * Azure: do not override hostname if user has set it (LP: #1375252)
1595 * Fix GCE datasource not handling per-instance SSH keys (LP: #1403617)
1596 * Allow specifying of uid in user/group config.
1597
1598 -- Scott Moser <smoser@ubuntu.com> Fri, 15 May 2015 17:04:19 -0400
1599
1600cloud-init (0.7.7~bzr1091-0ubuntu1) vivid; urgency=medium
1601
1602 * New upstream snapshot.
1603 * fix processing of user-data in cloud-config-archive format (LP: #1445143)
1604
1605 -- Scott Moser <smoser@ubuntu.com> Fri, 17 Apr 2015 12:04:16 -0400
1606
1607cloud-init (0.7.7~bzr1088-0ubuntu3) vivid; urgency=medium
1608
1609 * systemd/*.service: don't declare a Wants/Requires on network.target; this
1610 is a passive target that should only be pulled in by implementors of the
1611 networking service. The requirement for network needs to be
1612 expressed as a dependency on network-online.target. LP: #1440180.
1613
1614 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 09 Apr 2015 07:35:55 -0700
1615
1616cloud-init (0.7.7~bzr1088-0ubuntu2) vivid; urgency=medium
1617
1618 [ Didier Roche ]
1619 * Don't start or restart cloud-init services on install and upgrade
1620 (LP: #1438520)
1621
1622 [ Scott Moser ]
1623 * d/control: Build-Depends on iproute2 (tests)
1624 * d/control: Only Recommend (not both Depend and Recommend)
1625 software-properties-common
1626
1627 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Apr 2015 11:13:28 -0400
1628
1629cloud-init (0.7.7~bzr1088-0ubuntu1) vivid; urgency=medium
1630
1631 * New upstream snapshot.
1632 * adjust cc_snappy for snappy install package with config. (LP: #1438836)
1633 snappy install takes config as argument rather than '--config' flag.
1634
1635 -- Scott Moser <smoser@ubuntu.com> Tue, 31 Mar 2015 14:21:48 -0400
1636
1637cloud-init (0.7.7~bzr1087-0ubuntu1) vivid; urgency=medium
1638
1639 * New upstream snapshot.
1640 * SmartOS: update ds to use v2 metadata. (LP: #1436417) [Daniel Watkins]
1641 * Fix NoCloud local datasource to only activate if told to do so.
1642 * fix snappy package installation. (LP: #1437137)
1643
1644 -- Scott Moser <smoser@ubuntu.com> Fri, 27 Mar 2015 17:09:34 -0400
1645
1646cloud-init (0.7.7~bzr1084-0ubuntu1) vivid; urgency=medium
1647
1648 * New upstream snapshot.
1649 * systemd: update config and final to run even if init jobs fail
1650 (LP: #1432758)
1651 * emit_upstart: fix use of undeclared variable
1652 * SmartOS: fixes for python3 reading from serial device.
1653
1654 -- Scott Moser <smoser@ubuntu.com> Tue, 17 Mar 2015 16:48:42 -0400
1655
1656cloud-init (0.7.7~bzr1081-0ubuntu1) vivid; urgency=medium
1657
1658 * fix failure of configure due to postinst usage of iteritems with python3
1659 * New upstream snapshot.
1660 * better python3 handling of ignored binary mime parts
1661 * DataSourceMAAS: fix usage of oauthlib and 'timestamp'
1662
1663 -- Scott Moser <smoser@ubuntu.com> Wed, 11 Mar 2015 13:52:04 -0400
1664
1665cloud-init (0.7.7~bzr1078-0ubuntu1) vivid; urgency=medium
1666
1667 * New upstream snapshot.
1668 * run snappy module only on snappy (LP: #1428495)
1669 * MAAS: adjust timestamp on oauthlib when needed (LP: #1427939)
1670
1671 -- Scott Moser <smoser@ubuntu.com> Thu, 05 Mar 2015 15:22:53 -0500
1672
1673cloud-init (0.7.7~bzr1076-0ubuntu1) vivid; urgency=medium
1674
1675 * New upstream snapshot.
1676 * test case fixes for http_pretty
1677 * python2.6 fixes
1678 * Convert dmidecode values to sysfs names before looking. (LP: #1427687)
1679 * add snappy support (LP: #1428139)
1680
1681 -- Scott Moser <smoser@ubuntu.com> Wed, 04 Mar 2015 17:13:55 -0500
1682
1683cloud-init (0.7.7~bzr1072-0ubuntu1) vivid; urgency=medium
1684
1685 * d/control: move software-properties-common to Recommends
1686 this helps reduce snappy builds
1687 * New upstream snapshot.
1688 * fix MAAS datasource (LP: #1427263)
1689
1690 -- Scott Moser <smoser@ubuntu.com> Tue, 03 Mar 2015 20:46:41 -0500
1691
1692cloud-init (0.7.7~bzr1067-0ubuntu1) vivid; urgency=medium
1693
1694 * New upstream snapshot.
1695 * fix broken consumption of gzipped user-data (LP: #1424900)
1696 * functional user-data on Azure again (LP: #1423972)
1697 * CloudStack: support fetching password from virtual router (LP: #1422388)
1698
1699 -- Scott Moser <smoser@ubuntu.com> Thu, 26 Feb 2015 14:19:16 -0500
1700
1701cloud-init (0.7.7~bzr1060-0ubuntu1) vivid; urgency=medium
1702
1703 * New upstream snapshot.
1704 * Fix for ascii decode in DataSourceAzure (LP: #1422993).
1705
1706 -- Scott Moser <smoser@ubuntu.com> Fri, 20 Feb 2015 08:05:20 -0500
1707
1708cloud-init (0.7.7~bzr1059-0ubuntu1) vivid; urgency=medium
1709
1710 * New upstream snapshot.
1711 * support for gpt partitioning, utilized in Azure [Daniel Watkins]
1712 * fix bug in exception handling in mount_cb.
1713
1714 -- Scott Moser <smoser@ubuntu.com> Fri, 13 Feb 2015 16:05:59 -0500
1715
1716cloud-init (0.7.7~bzr1055-0ubuntu1) vivid; urgency=medium
1717
1718 * New upstream snapshot.
1719 * move to python3 (LP: #1247132)
1720 * systemd: run cloud-init before systemd-user-sessions.service
1721 * Use the GCE short hostname. (LP: #1383794)
1722 * Enable user-data encoding support for GCE. (LP: #1404311)
1723 * Update to use a newer and better OMNIBUS_URL
1724 * Be more tolerant of 'ssh_authorized_keys' types
1725 * Fix parse_ssh_config failing in ssh_util.py
1726 * Increase the robustness/configurability of the chef module.
1727 * retain trailing newline from template files when using
1728 jinja2 (LP: #1355343)
1729 * fix broken output handling (LP: #1387340)
1730 * digital ocean datasource
1731 * update url in config drive documentation
1732 * freebsd: enable correct behavior on Ec2.
1733 * freebsd: Use the proper virtio FreeBSD network interface name.
1734
1735 -- Scott Moser <smoser@ubuntu.com> Wed, 11 Feb 2015 15:55:58 -0500
1736
1737cloud-init (0.7.6~bzr1022-0ubuntu1) utopic; urgency=medium
1738
1739 * New upstream snapshot.
1740 * support for writing swap files per user config (disabled by default).
1741 * fixes for freebsd support of config drive.
1742
1743 -- Scott Moser <smoser@ubuntu.com> Wed, 01 Oct 2014 16:27:44 -0400
1744
1745cloud-init (0.7.6~bzr1020-0ubuntu1) utopic; urgency=medium
1746
1747 [ Ben Howard ]
1748 * Fix for cloud-init misidentifying grub install device (LP: #1336855).
1749
1750 [ Scott Moser ]
1751 * New upstream snapshot.
1752 * cc_grub_dpkg: consider /dev/xvda as candidate for grub installation
1753 (LP: #1336855)
1754 * resizefs: fix backgrounding of resizefs (LP: #1338614)
1755 * cloud-init-blocknet: remove debug code
1756
1757 -- Scott Moser <smoser@ubuntu.com> Tue, 23 Sep 2014 14:20:09 -0400
1758
1759cloud-init (0.7.6~bzr1016-0ubuntu1) utopic; urgency=medium
1760
1761 * New upstream snapshot.
1762 * upstart: block networking from coming up until after
1763 cloud-init-local has run. (LP: #1368861)
1764 * upstart: ensure /run mounted before cloud-init-local (LP: #1353008)
1765 * log failures in route info.
1766 * Openstack: do not search redundant urls for openstack datasource.
1767 do not load urls just to check if they're present when crawling.
1768 * ConfigDrive: fixes for better consumption of vendor-data
1769 * resizefs: make sure target is writable before attempting
1770 in order to avoid failures in containers. (LP: #1366891)
1771 * freebsd fixes.
1772 * ssh_authkey_fingerprints: correctly allow disabling (LP: #1340903)
1773 * CloudStack: work around bug in metadata service (LP: #1356855)
1774 * docs: fix doc about disk-setup 'table_type' (LP: #1313114)
1775 * resolv.conf: fix rendering if options not provided (LP: #1328953)
1776 * ensure keys exist before running ssh on systemd (LP: #1333920)
1777
1778 -- Scott Moser <smoser@ubuntu.com> Fri, 12 Sep 2014 18:12:31 -0400
1779
1780cloud-init (0.7.6~bzr992-0ubuntu1) utopic; urgency=medium
1781
1782 * New upstream snapshot.
1783 * ubuntu-init-switch: fixes and minor tweaks.
1784
1785 -- Scott Moser <smoser@ubuntu.com> Thu, 31 Jul 2014 16:11:27 -0400
1786
1787cloud-init (0.7.6~bzr990-0ubuntu1) utopic; urgency=medium
1788
1789 * debian/README.source: get changelog from trunk when new snapshot
1790 * New upstream snapshot.
1791 * add ubuntu-init-switch module for testing systemd.
1792 * do not put comments in /etc/timezone (LP: #1341710)
1793
1794 -- Scott Moser <smoser@ubuntu.com> Thu, 31 Jul 2014 15:05:51 -0400
1795
1796cloud-init (0.7.6~bzr987-0ubuntu2) utopic; urgency=medium
1797
1798 * debian/control: drop build-depends on python-selinux as it is
1799 not in main.
1800
1801 -- Scott Moser <smoser@ubuntu.com> Fri, 25 Jul 2014 12:47:39 -0400
1802
1803cloud-init (0.7.6~bzr987-0ubuntu1) utopic; urgency=medium
1804
1805 * incorporate systemd and build system changes from trunk.
1806 * New upstream snapshot.
1807 * less noisy logs
1808 * allow usage of jinja2 templates (LP: #1219223)
1809 * test case cleanups
1810 * change build system to be dh and pybuild
1811
1812 -- Scott Moser <smoser@ubuntu.com> Thu, 24 Jul 2014 19:55:30 -0400
1813
1814cloud-init (0.7.6~bzr976-0ubuntu1) utopic; urgency=medium
1815
1816 * debian/cloud-init.templates: fix choices so dpkg-reconfigure works as
1817 expected (LP: #1325746)
1818 * New upstream snapshot.
1819 * tests: SmartOS test not depend on /dev/ttyS1 device node (LP: #1316597)
1820 * poll ttyS1 only after check for 'cloudsigma' in dmidecode (LP: #1316475)
1821 * cloudsigma: support vendor-data (LP: #1303986)
1822
1823 -- Scott Moser <smoser@ubuntu.com> Tue, 03 Jun 2014 16:41:07 -0400
1824
1825cloud-init (0.7.5-0ubuntu1) trusty; urgency=medium
1826
1827 * New upstream release.
1828 * support base64 encoded user-data in OpenNebula, required
1829 to allow arbitrary content in user-data (LP: #1300941)
1830 * pep8 and pylint fixes
1831
1832 -- Scott Moser <smoser@ubuntu.com> Tue, 01 Apr 2014 14:39:03 -0400
1833
1834cloud-init (0.7.5~bzr970-0ubuntu1) trusty; urgency=medium
1835
1836 * New upstream snapshot.
1837 * fix NoCloud and seedfrom on the kernel command line (LP: #1295223)
1838
1839 -- Scott Moser <smoser@ubuntu.com> Thu, 20 Mar 2014 12:35:58 -0400
1840
1841cloud-init (0.7.5~bzr969-0ubuntu1) trusty; urgency=medium
1842
1843 * New upstream snapshot.
1844 * Azure: Reformat ephemeral disk if it got re-provisioned
1845 by the cloud on any reboot (LP: #1292648)
1846 * final_message: fix replacement of upper case keynames (LP: #1286164)
1847 * seed_random: do not capture output. Correctly provide
1848 environment variable RANDOM_SEED_FILE to command.
1849 * CloudSigma: support base64 encoded user-data
1850
1851 -- Scott Moser <smoser@ubuntu.com> Wed, 19 Mar 2014 14:04:34 -0400
1852
1853cloud-init (0.7.5~bzr964-0ubuntu1) trusty; urgency=medium
1854
1855 * New upstream snapshot.
1856 * SmartOS, AltCloud: disable running on arm systems due to bug
1857 (LP: #1243287, #1285686) [Oleg Strikov]
1858 * Allow running a command to seed random, default is 'pollinate -q'
1859 (LP: #1286316) [Dustin Kirkland]
1860 * Write status to /run/cloud-init/status.json for consumption by
1861 other programs (LP: #1284439)
1862 * fix output of network information to not include 'addr:' (LP: #1285185)
1863
1864 -- Scott Moser <smoser@ubuntu.com> Mon, 03 Mar 2014 16:59:27 -0500
1865
1866cloud-init (0.7.5~bzr952-0ubuntu1) trusty; urgency=medium
1867
1868 * New upstream snapshot.
1869 * fix broken seed of DAtaSourceNoCloud via external disk.
1870
1871 -- Scott Moser <smoser@ubuntu.com> Tue, 18 Feb 2014 14:10:52 -0500
1872
1873cloud-init (0.7.5~bzr950-0ubuntu1) trusty; urgency=medium
1874
1875 * New upstream snapshot.
1876 * support for vendor-data in NoCloud
1877 * fix in is_ipv4 to accept IP addresses with a '0' in them.
1878 * Azure: fix issue when stale data in /var/lib/waagent (LP: #1269626)
1879 * skip config_modules that declare themselves only verified on a set of
1880 distros. Add them to 'unverified_modules' list to run anyway.
1881 * Add CloudSigma datasource [Kiril Vladimiroff]
1882 * Add initial support for Gentoo and Arch distributions [Nate House]
1883 * Add GCE datasource [Vaidas Jablonskis]
1884 * Add native Openstack datasource which reads openstack metadata
1885 rather than relying on EC2 data in openstack metadata service.
1886
1887 -- Scott Moser <smoser@ubuntu.com> Fri, 14 Feb 2014 14:39:56 -0500
1888
1889cloud-init (0.7.5~bzr933-0ubuntu1) trusty; urgency=medium
1890
1891 * debian/control: bump Standards-Version to 3.9.5
1892 * debian/control: drop boto dependency no longer required in trunk.
1893 * New upstream snapshot.
1894 * ConfigDrive: consider partitions labelled correctly as possible sources.
1895 * find root filesystem for resizing in cases where there is no initramfs
1896 * removal of dependency on python-boto
1897 * vendor-data support, and usage of that in Joyent datasource.
1898 * change default output to be logged to /var/log/cloud-init-output.log
1899 * SeLinuxGuard: Cast file path to string. (LP: #1260072)
1900 * drop support for resizing via parted (LP: #1212492)
1901 * SmartOS: changes to address changes in platform (LP: #1272115)
1902 * FreeBSD support.
1903
1904 -- Scott Moser <smoser@ubuntu.com> Fri, 24 Jan 2014 22:41:57 -0500
1905
1906cloud-init (0.7.5~bzr902-0ubuntu1) trusty; urgency=medium
1907
1908 * debian/control: Build-Depend on python-jsonpatch as #717916 is now fixed.
1909 * debian/control: Recommend eatmydata (LP: #1236531)
1910 * New upstream snapshot.
1911 * support invoking apt with 'eatmydata' (LP: #1236531)
1912 * add a message in log about dynamic import failures
1913 * New in '0.7.4' release.
1914 * fix reading of mount information on kernels < 2.6.26 (LP: #1248625)
1915 * SmartOS: change 'region' to 'datacenter_name' to address change
1916 in data provided to instance (LP: #1249124)
1917 * support calling 'add-apt-repository' for 'cloud-archive:' entries
1918 (LP: #1244355)
1919 * DataSourceAzure: fix incompatibility with python 2.6 (LP: #1232175)
1920 * fix bug mounting first partition of a alias'd name. (LP: #1236594)
1921 * SmartOS: fix bug with hostname due to trailing whitespace (LP: #1236445)
1922 * fix creation of partitions on Azure (LP: #1233698)
1923 * cc_growpart: respect /etc/growroot-disabled (LP: #1234331)
1924 * ubuntu config: add default user to 'sudo' group (LP: #1228228)
1925 * Fix usage of libselinux-python when selinux is disabled
1926 * add OpenNebula datasource
1927
1928 -- Scott Moser <smoser@ubuntu.com> Tue, 17 Dec 2013 16:51:30 -0500
1929
1930cloud-init (0.7.3-0ubuntu2) saucy; urgency=low
1931
1932 * fix bug where a mount entry of 'ephemeral0' would only consider
1933 the unpartitioned device, not also the first partition (LP: #1236594)
1934
1935 -- Scott Moser <smoser@ubuntu.com> Mon, 07 Oct 2013 20:16:02 -0400
1936
1937cloud-init (0.7.3-0ubuntu1) saucy; urgency=low
1938
1939 * New upstream release.
1940 * Fix for SmartOS datasource when hostname is provided via dmi
1941 data (LP: #1236445)
1942
1943 -- Scott Moser <smoser@ubuntu.com> Mon, 07 Oct 2013 14:49:56 -0400
1944
1945cloud-init (0.7.3~bzr884-0ubuntu1) saucy; urgency=low
1946
1947 * New upstream snapshot.
1948 * allow disabling of growpart via file /etc/growroot-disabled
1949 (LP: #1234331)
1950 * add default user to sudo group (LP: #1228228)
1951 * fix disk creation on azure (LP: #1233698)
1952 * DatasourceSmartOS: allow availabiltity-zone to be fed from the
1953 datasource via 'region' (which allows 'mirrors' and other things
1954 to make use of it).
1955
1956 -- Scott Moser <smoser@ubuntu.com> Fri, 04 Oct 2013 21:08:07 -0400
1957
1958cloud-init (0.7.3~bzr879-0ubuntu1) saucy; urgency=low
1959
1960 * New upstream snapshot.
1961 * fixes to disk_setup config module and enabling of partition
1962 creation and filesystem creation on Azure.
1963
1964 -- Scott Moser <smoser@ubuntu.com> Fri, 27 Sep 2013 19:47:37 -0400
1965
1966cloud-init (0.7.3~bzr871-0ubuntu1) saucy; urgency=low
1967
1968 * New upstream snapshot.
1969 * add 'disk_setup' config module for partitioning disks and
1970 creating filesystems. (LP: #1218506)
1971
1972 -- Scott Moser <smoser@ubuntu.com> Fri, 20 Sep 2013 20:46:08 -0400
1973
1974cloud-init (0.7.3~bzr869-0ubuntu1) saucy; urgency=low
1975
1976 * depend on cloud-utils or cloud-guest-utils (LP: #1224003)
1977 * New upstream snapshot.
1978 * Add OpenNebula datasource.
1979 * Support reading 'random_seed' from metadata and writing to /dev/urandom
1980 * fix for bug in log_time.
1981
1982 -- Scott Moser <smoser@ubuntu.com> Wed, 11 Sep 2013 17:04:45 -0400
1983
1984cloud-init (0.7.3~bzr862-0ubuntu1) saucy; urgency=low
1985
1986 * New upstream snapshot.
1987 * support base64 encoded data in the smart os datasource
1988
1989 -- Scott Moser <smoser@ubuntu.com> Thu, 29 Aug 2013 04:54:39 -0400
1990
1991cloud-init (0.7.3~bzr861-0ubuntu1) saucy; urgency=low
1992
1993 * New upstream snapshot.
1994 * fix publishing hostname on azure (LP: #1214541)
1995
1996 -- Scott Moser <smoser@ubuntu.com> Tue, 20 Aug 2013 16:06:22 -0400
1997
1998cloud-init (0.7.3~bzr860-0ubuntu1) saucy; urgency=low
1999
2000 * New upstream snapshot.
2001 * fix setting of password for a user on azure. (LP: #1212723)
2002
2003 -- Scott Moser <smoser@ubuntu.com> Thu, 15 Aug 2013 16:01:40 -0400
2004
2005cloud-init (0.7.3~bzr858-0ubuntu1) saucy; urgency=low
2006
2007 * New upstream snapshot.
2008 * fix resizing of root partition by preferring the functional 'growpart'
2009 support over the broken 'parted resizepart' support (LP: #1212444)
2010 * add options for apt_ftp_proxy, apt_https_proxy and apt_config
2011 (LP: #1057195)
2012
2013 -- Scott Moser <smoser@ubuntu.com> Wed, 14 Aug 2013 21:44:22 -0400
2014
2015cloud-init (0.7.3~bzr851-0ubuntu1) saucy; urgency=low
2016
2017 * New upstream snapshot.
2018 * azure: do not wait for output of bouncing interface (ifdown; ifup)
2019 as that waits on output of all ifupdown scripts to close all file
2020 descriptors.
2021
2022 -- Scott Moser <smoser@ubuntu.com> Mon, 29 Jul 2013 12:21:08 -0400
2023
2024cloud-init (0.7.3~bzr850-0ubuntu1) saucy; urgency=low
2025
2026 * New upstream snapshot.
2027 * fix bouncing of interface. environment was not being modified
2028 so command invoked did not have access to 'interface'.
2029 * debian/README.source: update to read upstream version from trunk
2030
2031 -- Scott Moser <smoser@ubuntu.com> Fri, 26 Jul 2013 14:34:02 -0400
2032
2033cloud-init (0.7.3~bzr849-0ubuntu2) saucy; urgency=low
2034
2035 * debian/control: fix bad dependency on python-jsonpatch
2036 by build-depending on python-json-patch, so dh_python2
2037 can find the right package (LP: #1205358).
2038
2039 -- Scott Moser <smoser@ubuntu.com> Fri, 26 Jul 2013 10:47:59 -0400
2040
2041cloud-init (0.7.3~bzr849-0ubuntu1) saucy; urgency=low
2042
2043 * New upstream snapshot.
2044 * azure: support publishing hostname via bouncing interface (LP: #1202758)
2045
2046 -- Scott Moser <smoser@ubuntu.com> Thu, 25 Jul 2013 17:08:30 -0400
2047
2048cloud-init (0.7.3~bzr845-0ubuntu2) saucy; urgency=low
2049
2050 * debian/control: fix dependency python-json-patch.
2051
2052 -- Scott Moser <smoser@ubuntu.com> Wed, 24 Jul 2013 15:01:24 -0400
2053
2054cloud-init (0.7.3~bzr845-0ubuntu1) saucy; urgency=low
2055
2056 * Reads the currently set value in /etc/cloud/cloud.cfg.d/90_dpkg.cfg to
2057 db_set the value of cloud-init/datasources. (Closes: #709773)
2058 * New upstream snapshot.
2059 * azure: use deployment-id rather than static instance-id (LP: #1204190)
2060 * config-drive: make 'availability_zone' available. (LP: #1190431)
2061 * finalize handlers even on error (LP: #1203368)
2062 * azure: fix password based access (LP: #1201969)
2063 * add smartos (Joyent cloud) datasource
2064 * support patching cloud-config via jsonp (LP: #1200476)
2065 * debian/control: add dependency on python-jsonp
2066
2067 -- Scott Moser <smoser@ubuntu.com> Wed, 24 Jul 2013 13:47:53 -0400
2068
2069cloud-init (0.7.3~bzr829-0ubuntu1) saucy; urgency=low
2070
2071 * New upstream snapshot.
2072 * fix to upstart_job handler if version upstart is version 1.8.
2073 * Azure datasource: allow userdata to be found in node named
2074 'UserData' or 'CustomData'
2075
2076 -- Scott Moser <smoser@ubuntu.com> Thu, 11 Jul 2013 10:20:03 -0400
2077
2078cloud-init (0.7.3~bzr826-0ubuntu2) saucy; urgency=low
2079
2080 * debian/cloud-init.templates: add 'Azure' datasource to list
2081 of available datasources.
2082
2083 -- Scott Moser <smoser@ubuntu.com> Wed, 10 Jul 2013 16:31:48 -0400
2084
2085cloud-init (0.7.3~bzr826-0ubuntu1) saucy; urgency=low
2086
2087 * New upstream snapshot.
2088 * Fix omnibus support (LP: #1182265)
2089 * invoke 'initctl reload-configuration' on upstart jobs again
2090 (LP: #1124384)
2091 * Remove unowned files in /etc/apt/apt.conf.d/ after purge. (Closes #674237)
2092
2093 -- Scott Moser <smoser@ubuntu.com> Wed, 10 Jul 2013 13:35:59 -0400
2094
2095cloud-init (0.7.2-0ubuntu1) saucy; urgency=low
2096
2097 * New upstream release.
2098 * fix merging routines to be backwards compatible (LP: #1180867)
2099 * fix for python 2.6
2100
2101 -- Scott Moser <smoser@ubuntu.com> Wed, 05 Jun 2013 11:12:46 -0400
2102
2103cloud-init (0.7.2~bzr812-0ubuntu1) saucy; urgency=low
2104
2105 * New upstream snapshot.
2106 * catch up with upstream, which is hopefully 0.7.2
2107 * straighten out the merging routines
2108 * fix a bug in Maas datasource
2109
2110 -- Scott Moser <smoser@ubuntu.com> Fri, 10 May 2013 17:53:49 -0400
2111
2112cloud-init (0.7.2~bzr809-0ubuntu1) raring; urgency=low
2113
2114 * New upstream snapshot.
2115 * make apt-get invoke 'dist-upgrade' rather than 'upgrade' for
2116 package_upgrade. (LP: #1164147)
2117 * workaround 2.6 kernel issue that stopped blkid from showing /dev/sr0
2118
2119 -- Scott Moser <smoser@ubuntu.com> Thu, 11 Apr 2013 12:55:51 -0400
2120
2121cloud-init (0.7.2~bzr804-0ubuntu1) raring; urgency=low
2122
2123 * New upstream snapshot.
2124 * use python-requests rather than urllib2 for http (LP: #1067888)
2125 * handle failure of resizefs better. Specifically, do not show
2126 warnings or stack trace in lxc (LP: #1160462)
2127
2128 -- Scott Moser <smoser@ubuntu.com> Wed, 27 Mar 2013 10:04:41 -0400
2129
2130cloud-init (0.7.2~bzr795-0ubuntu1) raring; urgency=low
2131
2132 * New upstream snapshot.
2133 * documentation on write-files module (LP: #1111205)
2134 * support for specifying package versions in package installs
2135 * DataSourceNoCloud: allow specifyin user-data and meta-data in
2136 the datasource config (LP: #1115833)
2137 * work around bug in upstart for now (1124384)
2138 * support resizing btrfs fileystems
2139 * parse ssh keys more correctly (LP: #1136343)
2140 * upstart/cloud-init-nonet.conf: handle sigterm gracefully (LP: #1015223)
2141 * support growing partitions (LP: #1136936)
2142 * use --force-unsafe-io for dpkg installations to improve speed
2143 This is sane as it happens on instance initialization.
2144 * more powerful and user-suppliable cloud-config merge mechanisms
2145 (LP: #1023179)
2146
2147 -- Scott Moser <smoser@ubuntu.com> Thu, 07 Mar 2013 17:33:59 -0500
2148
2149cloud-init (0.7.1-0ubuntu5) raring; urgency=low
2150
2151 * catchup-751-760.patch (sync to 760)
2152 * DataSourceConfigDrive: allow config-drive data to come from a
2153 CD-ROM (LP: #1100545)
2154 * Allow 'sr0' to be used as a source for mount config [Vlastimil Holer]
2155 * do not log passwords provided via config (LP: #1096417)
2156 * DataSourceCloudStack: Attempt to find the 'virtual router' as provided
2157 from dhcp responses, rather than assuming it is the default route
2158 (LP: #1089989) [Gerard Dethier]
2159 in the CloudStack environment use virtual router rather than default route
2160 * notify upstart after writing upstart jobs to support filesystems that
2161 do not support inotify such as overlayfs (LP: #1080841)
2162 * fix cloud-config 'lock_password' user setup (LP: #1096423)
2163 * debian/README.source: minor improvements.
2164
2165 -- Scott Moser <smoser@ubuntu.com> Fri, 18 Jan 2013 10:12:34 -0500
2166
2167cloud-init (0.7.1-0ubuntu4) raring; urgency=low
2168
2169 * cherry pick relevant patches from trunk up to revision 750
2170 * use short form of '--stderr' argument to logger for better cross
2171 distro support (LP: #1083715)
2172 * puppet: make installation configurable (LP: #1090205)
2173 * chef: add omnibus installation method
2174 * fix allowing cloud-config input via user-data to affect the
2175 apt mirror selection (LP: #090482)
2176
2177 -- Scott Moser <smoser@ubuntu.com> Mon, 17 Dec 2012 10:48:23 -0500
2178
2179cloud-init (0.7.1-0ubuntu3) raring; urgency=low
2180
2181 * cherry pick relevant patches from trunk up to revision 745
2182 * fix writing of sudoers when suders rule is a string rather than
2183 an array (LP: #1079002)
2184 * add trailing slash to sudoers files that are written
2185 * fix resizefs module when 'noblock' was provided (LP: #1080985)
2186 * make sure there is no blank line before cloud-init entry in
2187 there are no blank lines in /etc/ca-certificates.conf (LP: #1077020)
2188
2189 -- Scott Moser <smoser@ubuntu.com> Mon, 03 Dec 2012 21:45:48 -0500
2190
2191cloud-init (0.7.1-0ubuntu2) raring; urgency=low
2192
2193 * debian/watch: add watch file
2194 * add 'ubuntu' user to sudoers (LP: #1080717)
2195 * set 'ubuntu' user shell to bash
2196
2197 -- Scott Moser <smoser@ubuntu.com> Mon, 19 Nov 2012 09:38:29 -0500
2198
2199cloud-init (0.7.1-0ubuntu1) raring; urgency=low
2200
2201 * New upstream release.
2202 * landscape: install landscape-client package if not installed.
2203 only take action if cloud-config is present (LP: #1066115)
2204 * landscape: restart landscape after install or config (LP: #1070345)
2205 * multipart/archive: do not fail on unknown headers in multipart
2206 mime or cloud-archive config (LP: #1065116).
2207 * tools/Z99-cloud-locale-test.sh: avoid warning when user's shell is
2208 zsh (LP: #1073077)
2209 * fix stack trace when unknown user-data input had unicode (LP: #1075756)
2210 * split 'apt-update-upgrade' config module into 'apt-configure' and
2211 'package-update-upgrade-install'. The 'package-update-upgrade-install'
2212 will be a cross distro module.
2213 * fix bug where cloud-config from user-data could not affect system_info
2214 settings (LP: #1076811)
2215 * add yum_add_repo configuration module for adding additional yum repos
2216 * fix public key importing with config-drive-v2 datasource (LP: #1077700)
2217 * handle renaming and fixing up of marker names (LP: #1075980)
2218 this relieves that burden from the distro/packaging.
2219 * group config: fix how group members weren't being translated correctly
2220 when the group: [member, member...] format was used (LP: #1077245)
2221 * work around an issue with boto > 0.6.0 that lazy loaded the return from
2222 get_instance_metadata(). This resulted in failure for cloud-init to
2223 install ssh keys. (LP: #1068801)
2224 * add power_state_change config module for shutting down stystem after
2225 cloud-init finishes. (LP: #1064665)
2226
2227
2228 -- Scott Moser <smoser@ubuntu.com> Wed, 14 Nov 2012 15:18:50 -0500
2229
2230cloud-init (0.7.0-0ubuntu2) quantal; urgency=low
2231
2232 * config-drive: copy metadata entry 'hostname' to 'local-hostname' to fix
2233 config modules (set_hostname) will function as expected (LP: #1061964)
2234
2235 -- Scott Moser <smoser@ubuntu.com> Fri, 05 Oct 2012 11:45:15 -0400
2236
2237cloud-init (0.7.0-0ubuntu1) quantal; urgency=low
2238
2239 * New upstream release.
2240 * minor change to oauth header fix (LP: #978127).
2241 * incorporation of 0.7.0 upstream release.
2242
2243 -- Scott Moser <smoser@ubuntu.com> Mon, 01 Oct 2012 14:19:46 -0400
2244
2245cloud-init (0.7.0~bzr677-0ubuntu1) quantal; urgency=low
2246
2247 * add CloudStack to DataSources listed by dpkg-reconfigure (LP: #1002155)
2248 * New upstream snapshot.
2249 * 0440 permissions on /etc/sudoers.d files rather than 0644
2250 * get host ssh keys to the console (LP: #1055688)
2251 * MAAS DataSource adjust timestamp in oauth header to one based on the
2252 timestamp in the response of a 403. This accounts for a bad local
2253 clock. (LP: #978127)
2254 * re-start the salt daemon rather than start to ensure config changes
2255 are taken.
2256 * allow for python unicode types in yaml that is loaded.
2257 * cleanup in how config modules get at users and groups.
2258
2259 -- Scott Moser <smoser@ubuntu.com> Sun, 30 Sep 2012 14:29:04 -0400
2260
2261cloud-init (0.7.0~bzr659-0ubuntu2) quantal; urgency=low
2262
2263 * debian/cloud-init.templates: fix bad template file (LP: #1053239)
2264
2265 -- Scott Moser <smoser@ubuntu.com> Thu, 20 Sep 2012 09:18:20 -0400
2266
2267cloud-init (0.7.0~bzr659-0ubuntu1) quantal; urgency=low
2268
2269 * New upstream snapshot.
2270 * add signal handlers to more cleanly exit
2271 * add logging fallback in case logging fails
2272 * documentation fix for landscape config (LP: #1042764)
2273 * do not write a comment in /etc/hostname (LP: #1052664)
2274 * fix incorrect ubuntu mirrors for 'ports' arches [Robbie Basak]
2275 * fix generation of hostname based on ip address in datasource
2276 (LP: #1050962) [Andy Grimm]
2277 * remove 'start networking' from cloud-init-nonet and replace it
2278 with container specific fixes (LP: #1031065)
2279 * fix landscape configuration so client will run (LP: #1042758)
2280 * enable all available datasources (adding AltCloud and None)
2281 * fix bug where user data scripts re-ran on upgrade from 10.04 versions
2282 (LP: #1049146)
2283
2284 -- Scott Moser <smoser@ubuntu.com> Wed, 19 Sep 2012 22:08:51 -0400
2285
2286cloud-init (0.7.0~bzr644-0ubuntu1) quantal; urgency=low
2287
2288 * New upstream snapshot.
2289 * fix cloud-archives (LP: #1044594)
2290 * fix set_passwords for usergroups as a list (LP: #1044553)
2291 * fix 'failed to setup apt-pipelining' warning on install due to
2292 old 0.6 style usage of cloud-init.
2293
2294 -- Scott Moser <smoser@ubuntu.com> Sat, 01 Sep 2012 20:11:34 -0400
2295
2296cloud-init (0.7.0~bzr642-0ubuntu1) quantal; urgency=low
2297
2298 * New upstream snapshot.
2299 * support using launch-index (ami-launch-index) (LP: #1023177)
2300 * usergroup related fixes (LP: #1041384, #1044044, #1044508)
2301
2302 -- Scott Moser <smoser@ubuntu.com> Fri, 31 Aug 2012 17:04:06 -0400
2303
2304cloud-init (0.7.0~bzr639-0ubuntu1) quantal; urgency=low
2305
2306 * New upstream snapshot.
2307 * fix broken ssh_import_id, which would give stack trace
2308
2309 -- Scott Moser <smoser@ubuntu.com> Tue, 28 Aug 2012 14:09:47 -0400
2310
2311cloud-init (0.7.0~bzr637-0ubuntu1) quantal; urgency=low
2312
2313 * New upstream snapshot.
2314 * fix issue with public keys not being added to 'ubuntu' user
2315 since the user was not created yet. (LP: #1042459)
2316 * only search the top level domain 'instance-data' for the EC2
2317 metadata service, to avoid misconfiguration or unexpected results
2318 by searching search entries in /etc/resolv.conf (LP: #1040200)
2319
2320 -- Scott Moser <smoser@ubuntu.com> Mon, 27 Aug 2012 20:27:06 -0400
2321
2322cloud-init (0.7.0~bzr634-0ubuntu1) quantal; urgency=low
2323
2324 * New upstream snapshot.
2325 * support for datasource from config-drive-v2 (LP: #1037567)
2326
2327 -- Scott Moser <smoser@ubuntu.com> Fri, 24 Aug 2012 17:24:26 -0400
2328
2329cloud-init (0.7.0~bzr633-0ubuntu1) quantal; urgency=low
2330
2331 * New upstream snapshot.
2332 * support creating users on boot. remove requirement for a 'ubuntu'
2333 user to be previously present in image. (LP: #1028503)
2334 * add experimental apt_reboot_if_required flag to reboot if necessary
2335 after upgrade or package install (LP: #1038108)
2336 * improve mirror selection for a distro:
2337 * support arm mirrors (LP: #1028501)
2338 * support seeding security mirror (LP: #1006963)
2339 * support dns mirrors including availability-zone reference
2340 (LP: #1037727)
2341 * include a "None" datasource so items like ssh host key generation
2342 occur if there is no other metadata service. (LP: #906669)
2343 * print authorized_keys for users to the console (LP: #1010582)
2344 * Add RHEVm and vSphere support as datasource AltCloud [Joseph VLcek]
2345
2346 -- Scott Moser <smoser@ubuntu.com> Thu, 23 Aug 2012 01:06:34 -0400
2347
2348cloud-init (0.7.0~bzr614-0ubuntu1) quantal; urgency=low
2349
2350 * New upstream snapshot.
2351 * disable searching for 'ubuntu-mirror' in local dns to find a
2352 local mirror (LP: #974509)
2353 * emit the cloud-config event (LP: #1028674)
2354 * write timestamps to console on reboot and shutdown (LP: #1018554)
2355
2356 -- Scott Moser <smoser@ubuntu.com> Fri, 03 Aug 2012 14:55:37 -0400
2357
2358cloud-init (0.7.0~bzr608-0ubuntu1) quantal; urgency=low
2359
2360 * New upstream snapshot.
2361 * fix issue with EC2 datasource that prevented /mnt from being mounted.
2362
2363 -- Scott Moser <smoser@ubuntu.com> Mon, 16 Jul 2012 16:49:55 -0400
2364
2365cloud-init (0.7.0~bzr604-0ubuntu1) quantal; urgency=low
2366
2367 * New upstream snapshot.
2368 * add cc_write_file for injecting files via cloud-config (LP: #1012854)
2369 * fix issue with empty user data
2370 * remove some un-needed warnings to console output in DataSourceOVF
2371 * allow user-data scripts output through to the console
2372
2373 -- Scott Moser <smoser@ubuntu.com> Thu, 12 Jul 2012 16:11:01 -0400
2374
2375cloud-init (0.7.0~bzr583-0ubuntu1) quantal; urgency=low
2376
2377 * New upstream snapshot.
2378 * debian/control: wrap-and-sort
2379 * debian/control: actually depend on software-properties-common
2380 * debian/control: depend on python-cheetah again instead of python-tempita
2381
2382 -- Scott Moser <smoser@ubuntu.com> Mon, 09 Jul 2012 17:41:22 -0400
2383
2384cloud-init (0.7.0~bzr564-0ubuntu2) quantal; urgency=low
2385
2386 * debian/control: Build-Depends on python-setuptools (LP: #1022101)
2387
2388 -- Angel Abad <angelabad@ubuntu.com> Sat, 07 Jul 2012 18:43:05 +0200
2389
2390cloud-init (0.7.0~bzr564-0ubuntu1) quantal; urgency=low
2391
2392 * New upstream snapshot.
2393 Thanks to Joshua Harlow for hard work.
2394 * depend on software-properties-common rather than
2395 python-software-properties (LP: #1021418)
2396
2397 -- Scott Moser <smoser@ubuntu.com> Fri, 06 Jul 2012 17:31:01 -0400
2398
2399cloud-init (0.6.3-0ubuntu3) quantal; urgency=low
2400
2401 * grub-legacy-ec2: add missing dependency on ucf (LP: #960336).
2402
2403 -- Robie Basak <robie.basak@ubuntu.com> Sun, 24 Jun 2012 05:10:13 +0100
2404
2405cloud-init (0.6.3-0ubuntu2) quantal; urgency=high
2406
2407 * Added -generic to Xen kernels list since -virtual has been dropped with
2408 Quantal. (LP: #1005551)
2409
2410 -- Ben Howard <ben.howard@ubuntu.com> Tue, 29 May 2012 12:59:01 -0600
2411
2412cloud-init (0.6.3-0ubuntu1) precise; urgency=low
2413
2414 * New upstream release.
2415 * improve chef examples for working configurations on 11.10 and 12.04
2416 [Lorin Hochstein] (LP: #960564)
2417 * fix bug in landscape module if /etc/landscape did not exist
2418 (LP: #978329)
2419
2420 -- Scott Moser <smoser@ubuntu.com> Wed, 11 Apr 2012 00:05:00 -0400
2421
2422cloud-init (0.6.3~bzr554-0ubuntu1) precise; urgency=low
2423
2424 * New upstream snapshot.
2425 * Fix bug in Chef support that required 'validation_cert' (LP: #960547)
2426 * Provide user-friendly message when a user ssh's in with an invalid
2427 locale (LP: #960547)
2428 * Support reading a url reference to cloud-config from the kernel
2429 command line.
2430
2431 -- Scott Moser <smoser@ubuntu.com> Thu, 05 Apr 2012 01:24:42 -0400
2432
2433cloud-init (0.6.3~bzr551-0ubuntu1) precise; urgency=low
2434
2435 * New upstream snapshot.
2436 * support running resize2fs in the background (default=off) (LP: #961226)
2437
2438 -- Scott Moser <smoser@ubuntu.com> Thu, 22 Mar 2012 14:33:59 -0400
2439
2440cloud-init (0.6.3~bzr548-0ubuntu1) precise; urgency=low
2441
2442 * New upstream snapshot.
2443 * If public-keys is a string, split it into multiple keys on newline
2444 This specifically helps the MAAS data source, and should not negatively
2445 affect others.
2446
2447 -- Scott Moser <smoser@ubuntu.com> Mon, 19 Mar 2012 13:50:50 -0400
2448
2449cloud-init (0.6.3~bzr547-0ubuntu1) precise; urgency=low
2450
2451 * New upstream snapshot.
2452 * rename DataSourceMaaS to DataSourceMAAS.
2453 * support public-keys in DataSourceMAAS
2454 * Warn in user-data processing on non-multipart, non-handled data
2455 * CloudStack data source added (not enabled by default)
2456 * fix bug in cloud-init.postinst where the name used was wrong
2457 causing config-apt-pipelining to run more than intended
2458
2459 -- Scott Moser <smoser@ubuntu.com> Fri, 16 Mar 2012 14:12:38 -0400
2460
2461cloud-init (0.6.3~bzr539-0ubuntu3) precise; urgency=low
2462
2463 * make maas config file only readable by root (LP: #954721)
2464
2465 -- Scott Moser <smoser@ubuntu.com> Wed, 14 Mar 2012 01:19:32 -0400
2466
2467cloud-init (0.6.3~bzr539-0ubuntu2) precise; urgency=low
2468
2469 [Cosmin Luta]
2470 * add dependency on python-oauth (LP: #953915)
2471
2472 -- Scott Moser <smoser@ubuntu.com> Tue, 13 Mar 2012 11:36:11 -0400
2473
2474cloud-init (0.6.3~bzr539-0ubuntu1) precise; urgency=low
2475
2476 * New upstream snapshot.
2477 * add ability to configure Acquire::http::Pipeline-Depth via
2478 cloud-config setting 'apt_pipelining' (LP: #942061)
2479 * if cloud-config settings removed default certificats
2480 (remove-defaults), then seed package ca-certificates to not
2481 install new ones on upgrade.
2482 * run-parts now uses internal implementation rather than
2483 separate command.
2484 * add MaaS datasource (LP: #942061)
2485 * debian/cloud-init.postinst: address population of apt_pipeline
2486 setting on installation.
2487 * debian/cloud-init.postinst: support configuring cloud-init
2488 maas datasource via preseed values cloud-init/maas-metadata-url and
2489 cloud-init/maas-credentials. (LP: #942061)
2490 * debian/cloud-init.postinst: support for (LP: #924375)
2491
2492 -- Scott Moser <smoser@ubuntu.com> Fri, 09 Mar 2012 16:37:01 -0500
2493
2494cloud-init (0.6.3~bzr530-0ubuntu1) precise; urgency=low
2495
2496 * New upstream snapshot.
2497 - fix DataSourceNoCloud seeded from local or cmdline (LP: #942695)
2498 - change 'islxc' to 'iscontainer' and use 'running-in-container' utility
2499 from upstart rather than 'lxc-is-container' (LP: #941955)
2500 - Do not fail on bad part handlers, instead catch error and log
2501
2502 -- Scott Moser <smoser@ubuntu.com> Tue, 28 Feb 2012 19:15:19 -0500
2503
2504cloud-init (0.6.3~bzr527-0ubuntu1) precise; urgency=low
2505
2506 * New upstream snapshot.
2507 - exit 0 in cloud-init if no metadata is found (nothing to do)
2508 - documentation improvements
2509 - support network config in DataSourceNoCloud
2510
2511 -- Scott Moser <smoser@ubuntu.com> Fri, 17 Feb 2012 17:11:50 -0500
2512
2513cloud-init (0.6.3~bzr519-0ubuntu1) precise; urgency=low
2514
2515 * New upstream snapshot.
2516 - [Mike Milner] add support for managing CA Certificates (LP: #915232)
2517 - in ci-info lines, use '.' to for empty field for easier machine reading
2518 - support empty lines in "#include" files (LP: #923043)
2519 - [Jef Baeur] support configuration of salt minions Bauer) (LP: #927795)
2520 - DataSourceOVF: only search for OVF data on ISO9660 filesystems (LP: #898373)
2521 - DataSourceConfigDrive: support getting data from openstack config drive
2522 (LP: #857378)
2523 - [Juerg Haefliger] formating and pylint cleanups
2524 * increase timeouts for initial config check for metadata service
2525 to address slow metadata service in openstack
2526 * add awareness of ConfigDrive data source
2527
2528 -- Scott Moser <smoser@ubuntu.com> Thu, 16 Feb 2012 17:27:05 -0500
2529
2530cloud-init (0.6.3~bzr502-0ubuntu1) precise; urgency=low
2531
2532 * New upstream snapshot.
2533 - [Mike Milner] add test case framework (LP: #890851)
2534 - [Juerg Haefliger] fix pylint warnings (LP: #914739)
2535 - fix regression where ec2 mirrors were not selected (LP: #915282)
2536
2537 -- Scott Moser <smoser@ubuntu.com> Thu, 12 Jan 2012 17:56:52 +0100
2538
2539cloud-init (0.6.3~bzr497-0ubuntu1) precise; urgency=low
2540
2541 * New upstream snapshot.
2542 - cloud-config support for configuring apt-proxy
2543 - selection of local mirror based on presense of 'ubuntu-mirror' dns
2544 entry in local domain. (LP: #897688)
2545 - DataSourceEc2: more resilliant to slow metadata service (LP: #894279)
2546 - close stdin in all programs launched by cloud-init (LP: #903993)
2547 - revert management of /etc/hosts to 0.6.1 style (LP: #890501, LP: #871966)
2548 - write full ssh keys to console for easy machine consumption (LP: #893400)
2549 - put INSTANCE_ID environment variable in bootcmd scripts
2550 - add 'cloud-init-per' script for easily running things with a given freq
2551 (this replaced cloud-init-run-module)
2552 - support configuration of landscape-client via cloud-config (LP: #857366)
2553 - part-handlers now get base64 decoded content rather than 2xbase64 encoded
2554 in the payload parameter. (LP: #874342)
2555
2556 -- Scott Moser <smoser@ubuntu.com> Thu, 22 Dec 2011 04:07:38 -0500
2557
2558cloud-init (0.6.2-0ubuntu2) precise; urgency=low
2559
2560 * Build using dh_python2. LP: #904248.
2561 * debian/rules: Explicitly set DEB_PYTHON2_MODULE_PACKAGES = cloud-init.
2562
2563 -- Matthias Klose <doko@ubuntu.com> Sat, 17 Dec 2011 21:08:23 +0000
2564
2565cloud-init (0.6.2-0ubuntu1) precise; urgency=low
2566
2567 * New upstream release
2568
2569 -- Scott Moser <smoser@ubuntu.com> Thu, 27 Oct 2011 23:05:15 -0400
2570
2571cloud-init (0.6.1-0ubuntu20) oneiric; urgency=low
2572
2573 * fix broken path if local-hostname was not in metadata (LP: #857380)
2574 * redirect output of 'start networking' in 'cloud-init-nonet' to /dev/null
2575 * include GPLv3 in source tree
2576
2577 -- Scott Moser <smoser@ubuntu.com> Fri, 23 Sep 2011 09:24:27 -0400
2578
2579cloud-init (0.6.1-0ubuntu19) oneiric; urgency=low
2580
2581 * If local-hostname is not in meta-data, attempt to look up hostname in
2582 an alias in /etc/hosts. This will avoid setting domain portion of fqdn
2583 to 'localdomain' in some cases (LP: #850206).
2584
2585 -- Scott Moser <smoser@ubuntu.com> Wed, 14 Sep 2011 15:15:00 -0400
2586
2587cloud-init (0.6.1-0ubuntu18) oneiric; urgency=low
2588
2589 * minor documentation improvement.
2590
2591 [Mike Moulton, Avishai Ish-Shalom]
2592 * Chef support fixes. support for environment and initial attr (LP: #845208)
2593
2594 -- Scott Moser <smoser@ubuntu.com> Tue, 13 Sep 2011 17:02:48 -0400
2595
2596cloud-init (0.6.1-0ubuntu17) oneiric; urgency=low
2597
2598 * fix issues with chef (LP: #845161)
2599 * be more forgiving on metadata for public-keys (LP: #845155)
2600
2601 -- Scott Moser <smoser@ubuntu.com> Fri, 09 Sep 2011 14:19:03 -0700
2602
2603cloud-init (0.6.1-0ubuntu16) oneiric; urgency=low
2604
2605 * catch up with trunk at revision 439
2606 * warn on failure to set hostname (LP: #832175)
2607 * properly wait for all static interfaces to be up before
2608 cloud-init runs (depends on fix in LP:# 838968).
2609 * in DataSources NoCloud and OVF, do not set hostname to the
2610 static value 'ubuntuhost' if local-hostname is not in metadata
2611 (LP: #838280)
2612 * improve the way ssh_authorized_keys is updated, so that the
2613 values given will be used. (LP: #434076, LP: #833499)
2614 * cloud-init-notnet.conf: minor changes to config
2615
2616 -- Scott Moser <smoser@ubuntu.com> Thu, 01 Sep 2011 21:14:09 -0400
2617
2618cloud-init (0.6.1-0ubuntu15) oneiric; urgency=low
2619
2620 * catch up with trunk at revision 431
2621 * add network debug info to console when cloud-init runs (LP: #828186)
2622 * fix issue where subprocesses (apt-add-repository) where given
2623 the console and would attempt to prompt user and hang boot (LP: #831505)
2624 * add awareness of ecdsa to cc_ssh
2625
2626 -- Scott Moser <smoser@ubuntu.com> Tue, 23 Aug 2011 00:01:01 -0400
2627
2628cloud-init (0.6.1-0ubuntu14) oneiric; urgency=low
2629
2630 * change the handling of user-data (LP: #810044)
2631 * boothooks will now run more than once as they were intended
2632 * cloud-config and user-scripts will be updated from user data every boot
2633 * Add a second type of part-handler that will be called on every boot
2634 * fix bad handling of /etc/hosts if manage_etc_hosts was false
2635
2636 -- Scott Moser <smoser@ubuntu.com> Mon, 08 Aug 2011 12:46:56 -0500
2637
2638cloud-init (0.6.1-0ubuntu13) oneiric; urgency=low
2639
2640 * do not install 92-uec-upgrade-available as a motd hook. This file was
2641 installed but did not do anything since updates-check was removed.
2642 * support multiple staticly configured network devices, as long as
2643 all of them come up early (LP: #810044)
2644
2645 [Marc Cluet]
2646 * add support for passing mcollective keys via cloud-config
2647 * add support for 'include-once' type. include-once urls are only
2648 retrieved once-per-instance rather than on every boot.
2649
2650 -- Scott Moser <smoser@ubuntu.com> Mon, 01 Aug 2011 16:45:40 -0400
2651
2652cloud-init (0.6.1-0ubuntu12) oneiric; urgency=low
2653
2654 * do not give trace on failure to resize in lxc container (LP: #800856)
2655 * increase the timeout on url gets for "seedfrom" values (LP: #812646)
2656 * do not write entries for ephemeral0 on t1.micro (LP: #744019)
2657
2658 [Adam Gandalman]
2659 * improve the updating of /etc/hosts with correct fqdn when possible
2660 (LP: #812539)
2661
2662 [Avishai Ish-Shalom]
2663 * add chef support (cloudinit/CloudConfig/cc_chef.py) (LP: #798844)
2664
2665 -- Scott Moser <smoser@ubuntu.com> Thu, 21 Jul 2011 05:51:03 -0400
2666
2667cloud-init (0.6.1-0ubuntu11) oneiric; urgency=low
2668
2669 [Marc Cluet]
2670 * sanitize hosts file for system's hostname to 127.0.1.1 (LP: #802637)
2671
2672 -- Scott Moser <smoser@ubuntu.com> Thu, 30 Jun 2011 14:12:47 -0400
2673
2674cloud-init (0.6.1-0ubuntu10) oneiric; urgency=low
2675
2676 * sync with trunk (rev 405)
2677 * fix cloud-init in ubuntu lxc containers (LP: #800824)
2678
2679 -- Scott Moser <smoser@ubuntu.com> Tue, 28 Jun 2011 06:42:45 -0400
2680
2681cloud-init (0.6.1-0ubuntu9) oneiric; urgency=low
2682
2683 * sync with trunk (rev 404)
2684 * make metadata urls configurable, to support eucalyptus in
2685 STATIC or SYSTEM modes (LP: #761847)
2686 * support disabling byobu in cloud-config (LP: #797336)
2687 * guarantee that ssh_config runs before sshd starts (LP: #781101)
2688 * make prefix for keys added to /root/.ssh/authorized_keys configurable
2689 and add 'no-port-forwarding,no-agent-forwarding,no-X11-forwarding'
2690 to the default (LP: #798505)
2691 * make 'cloud-config ready' command configurable (LP: #785551)
2692 * make fstab fields used to 'fill in' shorthand mount entries configurable
2693 (LP: #785542)
2694 * read sshd_config to properly get path for authorized_keys (LP: #731849)
2695
2696 -- Scott Moser <smoser@ubuntu.com> Fri, 17 Jun 2011 12:18:34 -0400
2697
2698cloud-init (0.6.1-0ubuntu8) natty; urgency=low
2699
2700 * instead of including /boot/grub, create it in postinst
2701 of grub-legacy-ec2.
2702
2703 -- Scott Moser <smoser@ubuntu.com> Fri, 15 Apr 2011 13:01:17 -0400
2704
2705cloud-init (0.6.1-0ubuntu7) natty; urgency=low
2706
2707 * grub-legacy-ec2: add /boot/grub directory so installation does
2708 not depend on it already existing (LP: #759885)
2709
2710 -- Scott Moser <smoser@ubuntu.com> Wed, 13 Apr 2011 11:03:04 -0400
2711
2712cloud-init (0.6.1-0ubuntu6) natty; urgency=low
2713
2714 * avoid upgrade prompt for grub-pc when devices are named xvdX (LP: #752361)
2715 * catchup to trunk cloud-init (rev 395)
2716
2717 -- Scott Moser <smoser@ubuntu.com> Wed, 06 Apr 2011 06:46:55 -0400
2718
2719cloud-init (0.6.1-0ubuntu5) natty; urgency=low
2720
2721 * fix --purge of grub-legacy-ec2 package (LP: #749444)
2722 * catchup to trunk cloud-init (rev 394)
2723 * support user-data formated in dos format by converting to unix for
2724 user-scripts, boothooks, and upstart jobs (LP: #744965)
2725 * removal of some debug code, minor documentation fix
2726
2727 -- Scott Moser <smoser@ubuntu.com> Mon, 04 Apr 2011 13:20:27 -0400
2728
2729cloud-init (0.6.1-0ubuntu4) natty; urgency=low
2730
2731 * catch up to trunk cloud-init (rev 389).
2732 * fix bug in part-handler code, that broke part handlers (LP: #739694)
2733 * fix sporadic resizefs failure (LP: #726938)
2734
2735 -- Scott Moser <smoser@ubuntu.com> Mon, 21 Mar 2011 22:06:59 -0400
2736
2737cloud-init (0.6.1-0ubuntu3) natty; urgency=low
2738
2739 * catch up to trunk cloud-init (rev 385).
2740 * attempt to install packages on failed apt-get update (LP: #728167)
2741 * enabled timezone and mcollective cloud-config plugins
2742
2743 -- Scott Moser <smoser@ubuntu.com> Fri, 04 Mar 2011 21:17:21 -0500
2744
2745cloud-init (0.6.1-0ubuntu2) natty; urgency=low
2746
2747 * grub-legacy-ec2: Use dpkg-query --control-path instead of hard-coding a
2748 path to debconf templates file, for compatibility with multiarch.
2749
2750 -- Scott Moser <smoser@ubuntu.com> Tue, 01 Mar 2011 23:23:55 -0500
2751
2752cloud-init (0.6.1-0ubuntu1) natty; urgency=low
2753
2754 * New upstream release.
2755 * fix for puppet configuration options (LP: #709946) [Ryan Lane]
2756 * fix pickling of DataSource, which broke seeding.
2757 * turn resize_rootfs default to True
2758 * avoid mounts in DataSourceOVF if 'read' on device fails
2759 'mount /dev/sr0' for an empty virtual cdrom device was taking 18 seconds
2760 * add 'manual_cache_clean' option to select manual cleaning of
2761 the /var/lib/cloud/instance/ link, for a data source that might
2762 not be present on every boot
2763 * make DataSourceEc2 retries and timeout configurable
2764 * add 'bootcmd' like 'runcmd' to cloud-config syntax for running things early
2765 * move from '#opt_include' in config file format to conf_d.
2766 now local config files should live in /etc/cloud/cloud.cfg.d/
2767 * move /etc/cloud/distro.cfg to /etc/cloud/cloud.cfg.d/90_dpkg.cfg
2768 * allow /etc/hosts to be written from hosts.tmpl. which allows
2769 getting local-hostname into /etc/hosts (LP: #720440)
2770 * better handle startup if there is no eth0 (LP: #714807)
2771 * update rather than append in puppet config [Marc Cluet]
2772 * add cloud-config for mcollective [Marc Cluet]
2773
2774 -- Scott Moser <smoser@ubuntu.com> Sat, 19 Feb 2011 01:16:10 -0500
2775
2776cloud-init (0.6.0-0ubuntu4) natty; urgency=low
2777
2778 * fix running of user scripts (LP: #711480) (cherry pick 344)
2779 * fix 2 lintian warnings
2780
2781 -- Scott Moser <smoser@ubuntu.com> Tue, 01 Feb 2011 16:15:30 -0500
2782
2783cloud-init (0.6.0-0ubuntu3) natty; urgency=low
2784
2785 * make a better attempt at deciding if DataSourceEc2 should be used
2786 on first install or upgrade
2787 * fix behavior if def_log_file is empty in cloud-config (cherry pick 333)
2788 * improve comment strings in rsyslog config (cherry pick 334)
2789 * do not package cloud-init query (cherry pick 335)
2790 * add previous-instance-id and previous-datasource to cloud/data
2791 and cloud/instance/datasource files (cherry pick 337)
2792 * allow setting of passwords and enabling/disabling ssh password auth
2793 via cloud-config (cherry pick 338)
2794
2795 -- Scott Moser <smoser@ubuntu.com> Mon, 31 Jan 2011 12:48:39 -0500
2796
2797cloud-init (0.6.0-0ubuntu2) natty; urgency=low
2798
2799 * add a debian/README.source file
2800 * fix bug in fixing permission on /var/log/cloud-init.log (cherry pick)
2801 * remove dependency on update-motd as updates-check was removed
2802 * fix failure on cloud-init package purge
2803 * add configuration of DataSources via debconf. Default to not searching
2804 Ec2. (LP: #635188)
2805 * fix naming of pre-processed (now user-data.txt.i) (cherry pick)
2806 * upgrade existing content in /var/lib/cloud to 0.6.x format
2807
2808 -- Scott Moser <smoser@ubuntu.com> Thu, 27 Jan 2011 16:32:44 -0500
2809
2810cloud-init (0.6.0-0ubuntu1) natty; urgency=low
2811
2812 * New upstream release.
2813 * fix permissions on cloud-init.log so syslog can write to it (LP: ##704509)
2814 * rework of /var/lib/cloud layout
2815 * remove updates-check (LP: #653220)
2816 * support resizing root partition on first boot (enabled by default)
2817 * added cloud-config options for setting hostname, phone_home
2818 * indicate "all the way up" with message to console and file creation
2819 in /var/lib/cloud/instance/ (LP: #653271)
2820 * write ssh keys to console late in boot to ensure they're in console buffer
2821 * add support for redirecting output of cloud-init, cloud-config,
2822 cloud-final via the config file, or user data config file
2823 * add support for posting data about the instance to a url (phone_home)
2824 * add minimal OVF transport (iso) support
2825 * make DataSources that are attempted dynamic and configurable from
2826 config. config option 'cloud_type' replaced by 'datasource_list'
2827 * add 'timezone' option to cloud-config (LP: #645458)
2828 * Added an additional archive format, that can be used for multi-part
2829 input to cloud-init. This may be more user friendly then mime-multipart
2830 (LP: #641504)
2831 * add support for reading Rightscale style user data (LP: #668400)
2832 * make the message on 'disable_root' more clear (LP: #672417)
2833 * do not require public key if private is given in ssh cloud-config
2834 (LP: #648905)
2835
2836 -- Scott Moser <smoser@ubuntu.com> Wed, 26 Jan 2011 17:28:36 -0500
2837
2838cloud-init (0.5.15-0ubuntu4) natty; urgency=low
2839
2840 * Rebuild with python 2.7 as the python default.
2841
2842 -- Matthias Klose <doko@ubuntu.com> Wed, 08 Dec 2010 15:01:36 +0000
2843
2844cloud-init (0.5.15-0ubuntu3) maverick; urgency=low
2845
2846 * do not use ec2 ubuntu archive if instance is VPC (LP: #615545)
2847
2848 -- Scott Moser <smoser@ubuntu.com> Thu, 16 Sep 2010 04:28:55 -0400
2849
2850cloud-init (0.5.15-0ubuntu2) maverick; urgency=low
2851
2852 * grub-legacy-ec2: boot with console=hvc0 (LP: #606373)
2853
2854 -- Scott Moser <smoser@ubuntu.com> Wed, 15 Sep 2010 16:41:48 -0400
2855
2856cloud-init (0.5.15-0ubuntu1) maverick; urgency=low
2857
2858 * New upstream release.
2859 * fix /etc/fstab cloudconfig entries for t1.micro and
2860 change default fstab values for ephemeral0 to nobootwait (LP: #634102)
2861 * grub-legacy-ec2: do not write chainload for grub2 to menu.lst
2862 (LP: #627451)
2863 * seed grub-pc correctly so update-grub runs on ec2 or uec(LP: #623609)
2864
2865 -- Scott Moser <smoser@ubuntu.com> Sun, 12 Sep 2010 15:23:39 -0400
2866
2867cloud-init (0.5.14-0ubuntu5) maverick; urgency=low
2868
2869 * add missing imports for cc_puppet (LP: #632744)
2870 * append to apt_sources files rather than truncating (LP: #627597)
2871 * get double commented lines into sources.list (LP: #627439)
2872
2873 -- Scott Moser <smoser@ubuntu.com> Wed, 08 Sep 2010 10:31:58 -0400
2874
2875cloud-init (0.5.14-0ubuntu4) maverick; urgency=low
2876
2877 * add commented out entries for partner, backports, and multiverse
2878 (LP: #620572)
2879
2880 -- Scott Moser <smoser@ubuntu.com> Thu, 26 Aug 2010 16:44:48 -0400
2881
2882cloud-init (0.5.14-0ubuntu3) maverick; urgency=low
2883
2884 * fix syntax error in cloudinit/util.py (failed installation)
2885
2886 -- Scott Moser <smoser@ubuntu.com> Tue, 17 Aug 2010 22:22:06 -0400
2887
2888cloud-init (0.5.14-0ubuntu2) maverick; urgency=low
2889
2890 * fix bug preventing 'seedfrom' from working (LP:617400)
2891
2892 -- Scott Moser <smoser@ubuntu.com> Tue, 17 Aug 2010 15:49:13 -0400
2893
2894cloud-init (0.5.14-0ubuntu1) maverick; urgency=low
2895
2896 * New upstream release.
2897 - support for reading metadata and userdata from filesystem
2898 - support for boot without metadata at all
2899
2900 -- Scott Moser <smoser@ubuntu.com> Thu, 12 Aug 2010 14:45:28 -0400
2901
2902cloud-init (0.5.13-0ubuntu3) maverick; urgency=low
2903
2904 * grub-legacy-ec2: fix 'apt-get --reinstall' and dpkg-divert (LP: #611812)
2905 * enable -virtual kernels as "xen" kernels (pv_ops now functional)
2906 * fix bad syntax in cloud-init-run-module.py
2907
2908 -- Scott Moser <smoser@ubuntu.com> Mon, 02 Aug 2010 16:26:48 -0400
2909
2910cloud-init (0.5.13-0ubuntu2) maverick; urgency=low
2911
2912 * debian/control: drop ssh-import as a recommends, as this has been
2913 subsumed by openssh-server
2914
2915 -- Dustin Kirkland <kirkland@ubuntu.com> Sat, 24 Jul 2010 21:02:40 +0200
2916
2917cloud-init (0.5.13-0ubuntu1) maverick; urgency=low
2918
2919 * New upstream release.
2920 * invoke dpkg with --force-confold (LP: #607642)
2921
2922 -- Scott Moser <smoser@ubuntu.com> Wed, 21 Jul 2010 11:58:53 -0400
2923
2924cloud-init (0.5.12-0ubuntu8) maverick; urgency=low
2925
2926 * update-grub-legacy-ec2:
2927 - add code to stop use of 'uuid' grub syntax
2928 - change fallback grub device from (hd0,0) to (hd0)
2929 - change timeout in menu.lst to 0
2930 * grub-legacy-ec2: add grub-set-default functionality (LP: #605961)
2931
2932 -- Scott Moser <smoser@ubuntu.com> Thu, 15 Jul 2010 13:07:01 -0400
2933
2934cloud-init (0.5.12-0ubuntu7) maverick; urgency=low
2935
2936 * update-grub-legacy-ec2:
2937 - force setting of indomU so output of build process has
2938 a menu.lst with -ec2 kernels listed.
2939 - remove 'quite splash' from kernel options
2940 - make sure grub_root_device is set to hd0 in image build
2941
2942 -- Scott Moser <smoser@ubuntu.com> Tue, 13 Jul 2010 16:33:51 -0400
2943
2944cloud-init (0.5.12-0ubuntu6) maverick; urgency=low
2945
2946 * fix installation error
2947 * add quilt-setup rule for package development
2948
2949 -- Scott Moser <smoser@ubuntu.com> Tue, 13 Jul 2010 12:04:21 -0400
2950
2951cloud-init (0.5.12-0ubuntu5) maverick; urgency=low
2952
2953 * sync with upstream r226.
2954 * fix bug where nfs/network mounts could not be specified (LP: #603329)
2955 * manage hostname setting better (LP: #596993)
2956 * add legacy-grub-ec2 package.
2957
2958 -- Scott Moser <smoser@ubuntu.com> Thu, 08 Jul 2010 22:24:59 -0400
2959
2960cloud-init (0.5.12-0ubuntu4) maverick; urgency=low
2961
2962 * handle hostname managing better with ebs root. (LP: #596993)
2963
2964 -- Scott Moser <smoser@ubuntu.com> Wed, 07 Jul 2010 11:54:10 -0400
2965
2966cloud-init (0.5.12-0ubuntu3) maverick; urgency=low
2967
2968 * fix cloud-boothook input type (LP: #600799)
2969 * sync with upstream.
2970
2971 -- Scott Moser <smoser@ubuntu.com> Thu, 01 Jul 2010 21:19:13 -0400
2972
2973cloud-init (0.5.12-0ubuntu2) maverick; urgency=low
2974
2975 * fix cloud config 'apt-update-upgrade' failure due to missing import
2976
2977 -- Scott Moser <smoser@ubuntu.com> Mon, 21 Jun 2010 15:08:32 -0400
2978
2979cloud-init (0.5.12-0ubuntu1) maverick; urgency=low
2980
2981 * New upstream release.
2982 * fix cloud-init-run-module to allow 'always' (LP: #568139)
2983 * add support for setting debconf selections
2984 * add cloud-config support for debconf selections (LP: #582667),
2985 byobu enablement, and ssh-import-lp-id
2986
2987 -- Scott Moser <smoser@ubuntu.com> Fri, 18 Jun 2010 15:48:14 -0400
2988
2989cloud-init (0.5.11-0ubuntu2) maverick; urgency=low
2990
2991 * handle renaming sem/markers for config items to avoid
2992 running per-instance again after package upgrade
2993 * pull 'config-' prefix on sem/ items for cloud-config modules from
2994 0.5.12
2995
2996 -- Scott Moser <smoser@ubuntu.com> Fri, 18 Jun 2010 12:52:10 -0400
2997
2998cloud-init (0.5.11-0ubuntu1) maverick; urgency=low
2999
3000 * New upstream release.
3001 * remove ec2-get-info. It is replaced by cloudutils ec2metadata
3002 * use python logging
3003 * reduce number of upstart jobs
3004 * add "boothook" user data type
3005 * Switch to dpkg-source 3.0 (quilt) format
3006
3007 -- Scott Moser <smoser@ubuntu.com> Fri, 18 Jun 2010 01:04:58 -0400
3008
3009cloud-init (0.5.10-0ubuntu1) lucid; urgency=low
3010
3011 * New upstream release.
3012 * ec2-get-info: fix for python traceback
3013 * ephemeral mount will show up in /etc/mtab or df on first boot
3014 LP: #527825
3015
3016 -- Scott Moser <smoser@ubuntu.com> Fri, 26 Mar 2010 00:57:28 -0400
3017
3018cloud-init (0.5.9-0ubuntu1) lucid; urgency=low
3019
3020 * New upstream release.
3021 * rename apt list files. 'ubuntu-bug' now works without update (LP: #513060)
3022 * replace 'cloudconfig' entries in fstab rather than appending (LP: #524562)
3023 * fix to fstab writing on ebs-root instances
3024
3025 -- Scott Moser <smoser@ubuntu.com> Mon, 08 Mar 2010 13:07:02 -0500
3026
3027cloud-init (0.5.8-0ubuntu1) lucid; urgency=low
3028
3029 * New upstream release.
3030 * cache data from metadata service, LP: #527364
3031 * fix format of cron entry in cron.d/cloudinit-updates
3032 * package egg-info file
3033
3034 -- Scott Moser <smoser@ubuntu.com> Tue, 02 Mar 2010 15:48:04 -0500
3035
3036cloud-init (0.5.7-0ubuntu4) lucid; urgency=low
3037
3038 * fix empty package previous package was emptpy for cloud-init
3039 due to adding the ec2-init package
3040
3041 -- Scott Moser <smoser@ubuntu.com> Fri, 26 Feb 2010 17:06:05 -0500
3042
3043cloud-init (0.5.7-0ubuntu3) lucid; urgency=low
3044
3045 * debian/control:
3046 - recommend ssh-import, such that the ssh-import-lp-id
3047 utility is available in UEC images for convenient importing of
3048 ssh public keys stored in Launchpad, LP: #524101
3049 - build a transitional ec2-init package to handle the rename
3050 gracefully on upgrades, LP: #527187
3051
3052 -- Dustin Kirkland <kirkland@ubuntu.com> Thu, 25 Feb 2010 16:22:10 -0600
3053
3054cloud-init (0.5.7-0ubuntu2) lucid; urgency=low
3055
3056 * fix packaging but that put the message-of-the-day hook file
3057 into a subdir of etc/update-motd.d, remove old file (LP: #524999)
3058
3059 -- Scott Moser <smoser@ubuntu.com> Fri, 19 Feb 2010 21:02:10 -0500
3060
3061cloud-init (0.5.7-0ubuntu1) lucid; urgency=low
3062
3063 * New upstream release.
3064 * run cloud-init early in boot process (LP: #504883, #524516)
3065
3066 -- Scott Moser <smoser@ubuntu.com> Fri, 19 Feb 2010 18:27:45 -0500
3067
3068cloud-init (0.5.6-0ubuntu1) lucid; urgency=low
3069
3070 * New upstream release.
3071 * supports 'runcmd' in cloud-config
3072 * enable the update check code (LP: #524258)
3073 * fix retry_url in boto_utils.py when metadata service not around
3074 (LP: #523832)
3075 * run cloud-config-puppet.conf later (LP: #523625)
3076 [ Scott Moser 0.5.5 ]
3077 * New upstream release, supports checking for updates
3078
3079 -- Scott Moser <smoser@ubuntu.com> Fri, 19 Feb 2010 03:13:22 -0500
3080
3081cloud-init (0.5.4-0ubuntu1) lucid; urgency=low
3082
3083 * New upstream release.
3084 * fix broken user-data scripts
3085 * merge mathiaz work for cloud-config-puppet
3086 * fix bug causing apt update to fail
3087 * rename EC2Init class to CloudInit
3088 * only set hostname once per instance. (LP: #514492)
3089
3090 -- Scott Moser <smoser@ubuntu.com> Wed, 17 Feb 2010 09:40:30 -0500
3091
3092cloud-init (0.5.3-0ubuntu2) lucid; urgency=low
3093
3094 * divert ureadahead.conf in postinst (LP: #499520)
3095 * lintian cleanups
3096
3097 -- Scott Moser <smoser@ubuntu.com> Fri, 05 Feb 2010 15:48:21 -0500
3098
3099cloud-init (0.5.3-0ubuntu1) lucid; urgency=low
3100
3101 * Rename ec2-init to cloud-init. New upstream release.
3102 * set hostname to ip-u.x.y.z if local-hostname provides a ip addr
3103 (LP: #475354)
3104
3105 -- Scott Moser <smoser@ubuntu.com> Thu, 04 Feb 2010 03:00:05 -0500
3106
3107ec2-init (0.5.2-0ubuntu1) lucid; urgency=low
3108
3109 * new upstream release
3110
3111 -- Scott Moser <smoser@ubuntu.com> Fri, 29 Jan 2010 13:30:52 -0500
3112
3113ec2-init (0.5.1-0ubuntu1) lucid; urgency=low
3114
3115 * new upstream release
3116
3117 -- Scott Moser <smoser@ubuntu.com> Fri, 22 Jan 2010 16:19:30 -0500
3118
3119ec2-init (0.5.0-0ubuntu4) lucid; urgency=low
3120
3121 * add an upstart job to get ssh keys regenerated and written
3122 to console (LP: #506599, LP: #507070)
3123
3124 -- Scott Moser <smoser@ubuntu.com> Thu, 14 Jan 2010 13:10:55 -0500
3125
3126ec2-init (0.5.0-0ubuntu3) lucid; urgency=low
3127
3128 * work around difference in uec/ec2 metadata service (LP:506332)
3129
3130 -- Scott Moser <smoser@ubuntu.com> Tue, 12 Jan 2010 11:33:11 -0500
3131
3132ec2-init (0.5.0-0ubuntu2) lucid; urgency=low
3133
3134 * pull changes from devel branch to get functional on ec2
3135
3136 -- Scott Moser <smoser@ubuntu.com> Mon, 11 Jan 2010 12:03:45 -0500
3137
3138ec2-init (0.5.0-0ubuntu2) lucid; urgency=low
3139
3140 * new upstream release
3141
3142 -- Scott Moser <smoser@ubuntu.com> Thu, 07 Jan 2010 22:00:38 -0500
3143
3144ec2-init (0.4.999-0ubuntu8) lucid; urgency=low
3145
3146 * fix mirror selection for us-west-1 (LP: #494185)
3147
3148 -- Scott Moser <smoser@ubuntu.com> Fri, 11 Dec 2009 15:12:19 -0500
3149
3150ec2-init (0.4.999-0ubuntu7) karmic; urgency=low
3151
3152 * work around differences in eucalyptus ephemeral mounts (LP: #458850)
3153 * get 'ec2:' prefix on ssh public key fingerprint (LP: #458576)
3154
3155 -- Scott Moser <smoser@ubuntu.com> Mon, 26 Oct 2009 16:18:06 -0400
3156
3157ec2-init (0.4.999-0ubuntu6) karmic; urgency=low
3158
3159 * make sources.list components for 'karmic-security' the same as
3160 'karmic' and 'karmic-updates' (main, restricted) (LP: #457866)
3161
3162 -- Scott Moser <smoser@ubuntu.com> Thu, 22 Oct 2009 08:55:58 -0400
3163
3164ec2-init (0.4.999-0ubuntu5) karmic; urgency=low
3165
3166 * write regenerate_ssh_host_keys output directly to /dev/console
3167 to ensure that it gets there. (LP: #451881)
3168
3169 -- Scott Moser <smoser@ubuntu.com> Wed, 21 Oct 2009 17:23:38 -0400
3170
3171ec2-init (0.4.999-0ubuntu4) karmic; urgency=low
3172
3173 * set locale to en_US.UTF-8 if get_location_from_availability_zone
3174 doesn't have a match (LP: #407949)
3175
3176 -- Scott Moser <smoser@ubuntu.com> Tue, 20 Oct 2009 09:57:49 -0400
3177
3178ec2-init (0.4.999-0ubuntu3) karmic; urgency=low
3179
3180 * split running of user-data out of ec2-init into ec2-init-user-data
3181 run this at S99. (LP : #431255)
3182
3183 -- Scott Moser <smoser@ubuntu.com> Fri, 25 Sep 2009 14:17:17 -0400
3184
3185ec2-init (0.4.999-0ubuntu2) karmic; urgency=low
3186
3187 * remove rightscale-init from package (see LP: #434181, LP: #434693)
3188 * fix lintian warning, specify path to GPL-3
3189 * replace multiple '| logger' in regenerate_ssh_host_keys single one
3190 * add ec2-is-compat-env, and disable init script by default. it can be
3191 enabled by setting 'compat=1' in /etc/ec2-init/is-compat-env
3192
3193 -- Scott Moser <smoser@ubuntu.com> Thu, 24 Sep 2009 16:32:42 -0400
3194
3195ec2-init (0.4.999-0ubuntu1) karmic; urgency=low
3196
3197 * New upstream release
3198
3199 -- Soren Hansen <soren@ubuntu.com> Wed, 26 Aug 2009 01:23:52 +0200
3200
3201ec2-init (0.4.99-0ubuntu3) karmic; urgency=low
3202
3203 * Also update /etc/default/locale when setting the locale based on
3204 locality.
3205
3206 -- Soren Hansen <soren@ubuntu.com> Tue, 11 Aug 2009 21:49:33 +0200
3207
3208ec2-init (0.4.99-0ubuntu2) karmic; urgency=low
3209
3210 * Consolidate build-dependencies a bit.
3211 * Sync default configuration with code.
3212 * Create /var/lib/ec2 in package.
3213 * Make ec2-get-info more robust in testing environments.
3214 * Handle missing public keys more gracefully.
3215 * Set proper ownership of user's authorized_keys.
3216
3217 -- Soren Hansen <soren@ubuntu.com> Tue, 11 Aug 2009 09:54:16 +0200
3218
3219ec2-init (0.4.99-0ubuntu1) karmic; urgency=low
3220
3221 * Massive rewrite. (LP: #407871, #407919, #308530, #407949, #407950, #407892
3222 and probably many others)
3223 * First Ubuntu version with the upstream tarball split out.
3224 * Switch to arch: all. There is no arch specific code here.
3225
3226 -- Soren Hansen <soren@ubuntu.com> Tue, 11 Aug 2009 08:33:33 +0200
3227
3228ec2-init (0.3.4ubuntu9) karmic; urgency=low
3229
3230 * Really include the action id in the semaphore filename.
3231
3232 -- Soren Hansen <soren@ubuntu.com> Sat, 11 Jul 2009 09:50:31 +0200
3233
3234ec2-init (0.3.4ubuntu8) karmic; urgency=low
3235
3236 * Add Vcs-Bzr header to debian/control.
3237 * Include the action id in the semaphore filename.
3238
3239 -- Soren Hansen <soren@ubuntu.com> Sat, 11 Jul 2009 02:35:43 +0200
3240
3241ec2-init (0.3.4ubuntu7) karmic; urgency=low
3242
3243 * Re-add accidentally removed locale template.
3244 * Fix indentation in init script.
3245
3246 -- Soren Hansen <soren@ubuntu.com> Fri, 10 Jul 2009 23:47:27 +0200
3247
3248ec2-init (0.3.4ubuntu6) karmic; urgency=low
3249
3250 * Replace calls to ec2-get-data with calls to ec2-get-info.
3251 * Make this package arch: all.
3252
3253 -- Soren Hansen <soren@ubuntu.com> Fri, 10 Jul 2009 23:16:35 +0200
3254
3255ec2-init (0.3.4ubuntu5) karmic; urgency=low
3256
3257 * debian/init: Move instance reboot detection out of python
3258 scripts and move them to the init script.
3259 * debian/ec2-set-defaults.py:
3260 - Point to the right location for locate (LP: #387611)
3261 - Default to UTC (LP: #341060)
3262 * debian/ec2-set-apt-sources.py: If you cant contact EC2 then use the
3263 regular archive (LP: #387027)
3264 * debian/ec2-setup-hostname.py: Use the local hostname in /etc/hosts
3265 and dont change once rebooted. (LP: #352745)
3266
3267 -- Chuck Short <zulcss@ubuntu.com> Wed, 08 Jul 2009 09:48:49 -0400
3268
3269ec2-init (0.3.4ubuntu4) karmic; urgency=low
3270
3271 * debian/init: Run update-motd regardless whether its a firstboot or not.
3272 * debian/init: Fix comments (LP: #373057)
3273 * debian/control: Add update-motd as a depends.
3274 * ec2-set-defaults.py: Wait for network to become available. (LP: #308530)
3275
3276 -- Chuck Short <zulcss@ubuntu.com> Thu, 28 May 2009 05:04:31 -0400
3277
3278ec2-init (0.3.4ubuntu3) karmic; urgency=low
3279
3280 * debian/init: Move init script to run before ssh and regenerate the ssh
3281 host kes in the init script rather than /etc/rc.local (LP: #370628)
3282 * ec2-set-apt-sources.py:
3283 - Move sources.list to /var/ec2 so it doesnt get removed after user
3284 reboots.
3285 * ec2-set-defaults.py:
3286 - Move locale to /var/ec2/ so it doesnt get remove after user reboots.
3287 * ec2-set-hostname.py
3288 - Create an /etc/hostname as well.
3289
3290 -- Chuck Short <zulcss@ubuntu.com> Thu, 14 May 2009 11:11:49 -0400
3291
3292ec2-init (0.3.4ubuntu2) karmic; urgency=low
3293
3294 * Really change the locale when setting up an instance. (LP: #341066)
3295 * Run ec2-run-user-data script last. (LP: #373055)
3296 * Minor comment tweaks. (LP: #373057)
3297
3298 -- Chuck Short <zulcss@ubuntu.com> Wed, 13 May 2009 13:41:35 -0400
3299
3300ec2-init (0.3.4ubuntu1) karmic; urgency=low
3301
3302 * Add more smarts to ec2 instance bring up. (LP: #371936)
3303
3304 -- Chuck Short <zulcss@ubuntu.com> Tue, 05 May 2009 08:59:54 -0400
3305
3306ec2-init (0.3.3ubuntu12) jaunty; urgency=low
3307
3308 * ec2-run-user-data.py: Fix error.
3309
3310 -- Chuck Short <zulcss@ubuntu.com> Tue, 07 Apr 2009 08:14:07 -0400
3311
3312ec2-init (0.3.3ubuntu11) jaunty; urgency=low
3313
3314 * debian/control:
3315 - Add python-cheetah and python-apt as a dependency.
3316 * debian/ec2-config.cfg:
3317 - Remove distro due to the change in ec2-set-apt-sources.py
3318 * debian/inistall
3319 - Install the templates in the right place.
3320 * ec2-set-apt-sources.py:
3321 - Use python-apt to update the sources.list.
3322
3323 -- Chuck Short <zulcss@ubuntu.com> Wed, 01 Apr 2009 13:58:43 -0400
3324
3325ec2-init (0.3.3ubuntu10) jaunty; urgency=low
3326
3327 * ec2-set-hostname.py:
3328 - Use template for /etc/hosts creation.
3329 - Dont use public_hostname in /etc/hosts. (LP: #352745)
3330
3331 -- Chuck Short <zulcss@ubuntu.com> Wed, 01 Apr 2009 08:48:05 -0400
3332
3333ec2-init (0.3.3ubuntu9) jaunty; urgency=low
3334
3335 * ec2-set-apt-sources.py:
3336 - Use a template to generate the sources.list and generate it based on the lsb_release.
3337
3338 -- Chuck Short <zulcss@ubuntu.com> Tue, 31 Mar 2009 15:15:55 -0400
3339
3340ec2-init (0.3.3ubuntu8) jaunty; urgency=low
3341
3342 * ec2-set-apt-sources.py:
3343 - Add the ubuntu-on-ec2 ppa.
3344
3345 -- Chuck Short <zulcss@ubuntu.com> Tue, 31 Mar 2009 09:37:13 -0400
3346
3347ec2-init (0.3.3ubuntu7) jaunty; urgency=low
3348
3349 * debian/rules: Fix typo.
3350
3351 -- Chuck Short <zulcss@ubuntu.com> Sun, 22 Mar 2009 17:14:16 -0400
3352
3353ec2-init (0.3.3ubuntu6) jaunty; urgency=low
3354
3355 * Set the configuration file to jaunty.
3356 * ec2-fetch-credentials: Fix typo.
3357 * ec2-set-defaults.py:
3358 - Remove timezone change when booting the instance.
3359 - Redirect output to /dev/null.
3360 * ec2-set-apt-sources.py:
3361 - Run apt-get update after the /etc/apt/sources.list and
3362 redirect the output to /dev/null.
3363 * rightscale-init: Updated rightscale-init
3364
3365 -- Chuck Short <zulcss@ubuntu.com> Thu, 19 Mar 2009 20:52:59 -0400
3366
3367ec2-init (0.3.3ubuntu5) jaunty; urgency=low
3368
3369 * debian/ec2-config.cfg:
3370 - Add disable root option.
3371 * debian/ec2-init.rightscale-init.init:
3372 - Add rightscale detection script.
3373 * ec2-get-info.py:
3374 - Display the information about an AMI instance.
3375
3376 -- Chuck Short <zulcss@ubuntu.com> Mon, 16 Mar 2009 08:54:49 -0400
3377
3378ec2-init (0.3.3ubuntu4) jaunty; urgency=low
3379
3380 * ec2-fetch-credentials.py:
3381 - Allow user to choose which user they wish to configure for.
3382 - Allow user to disable root user if they wish to.
3383 * ec2-set-defaults.py:
3384 - Set default timezone to UTC.
3385 - Set locale depending on zone.
3386 * debian/init:
3387 - Removed nash plugin.
3388 - Add ec2-set-defaults.
3389
3390 -- Chuck Short <zulcss@ubuntu.com> Wed, 04 Mar 2009 08:33:01 -0500
3391
3392ec2-init (0.3.3ubuntu3~intrepid4) intrepid; urgency=low
3393
3394 * set distro to intrepid.
3395
3396 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Feb 2009 10:28:06 -0500
3397
3398ec2-init (0.3.3ubuntu3) jaunty; urgency=low
3399
3400 * debian/ec2-init: Log results of ec2-run-user-data to syslog.
3401 * ec2-run-user-data.py :Dont leave files around and log the
3402 output to syslog.
3403
3404 -- Chuck Short <zulcss@ubuntu.com> Thu, 26 Feb 2009 10:24:35 -0500
3405
3406ec2-init (0.3.3ubuntu2) jaunty; urgency=low
3407
3408 * ec2-set-apt-sources.py:
3409 - Use the ec2 mirrors. (LP: #317065, #333897)
3410 - Update the /etc/apt/sources.list (LP: #333904)
3411 * ec2-fetch-credentials.py:
3412 - Better error checking (LP: #325067)
3413
3414 -- Chuck Short <zulcss@ubuntu.com> Tue, 24 Feb 2009 14:02:37 -0500
3415
3416ec2-init (0.3.3ubuntu1) jaunty; urgency=low
3417
3418 * debian/init: Fix init script.
3419
3420 -- Chuck Short <zulcss@ubuntu.com> Fri, 20 Feb 2009 09:22:54 -0500
3421
3422ec2-init (0.3.3) jaunty; urgency=low
3423
3424 * ec2-set-apt-sources.py
3425 - Determine the zone that the user is in and generate
3426 a /etc/apt/sources.list.d/ based on that.
3427 * debian/init:
3428 - Check to see if there is an /var/run/ec2 and create
3429 it if it doesnt exist.
3430 - Start ec2-set-apt-sources at first bootup.
3431 * debian/rules:
3432 - Install ec2-set-apt-sources.
3433 * debian/control:
3434 - Add python-configobj as a dependency.
3435 * debian/{install,dirs}
3436 - Create an /etc/ec2-init to read the configuration file and install it.
3437
3438 -- Chuck Short <zulcss@ubuntu.com> Mon, 09 Feb 2009 10:35:56 -0500
3439
3440ec2-init (0.3.2) jaunty; urgency=low
3441
3442 * debian/init:
3443 - Remove already ran detection
3444 - Log the running of ec2-run-user-data to /var/log/ec2-user-data.log
3445 * ec2-set-hostname.py:
3446 - set hostname to the Ec2 local-hostname
3447 - Update the /etc/hosts to change the ubuntu hostname to the
3448 public hostname.
3449 * ec2-fetch-credentials:
3450 - Copy the ssh keys to the ubuntu user.
3451 - Setup authorized keys for root to tell the user to login as the
3452 ubuntu user when they try to connect.
3453 * ec2-run-user-data:
3454 - Create an .already-ran file to check to see if ec2-run-user-data
3455 already ran.
3456 - Save the ec2-run-user-data script in /var/ec2.
3457
3458 -- Chuck Short <zulcss@ubuntu.com> Wed, 04 Feb 2009 09:32:08 -0500
3459
3460ec2-init (0.3.1) jaunty; urgency=low
3461
3462 * debian/dir: Install /var/ec2 to save user-data scripts.
3463 * debian/rules: Start ec2-init after ssh.
3464 * ec2-run-user-data.py: Save run-user-data script with ami-id.
3465
3466 -- Chuck Short <zulcss@ubuntu.com> Mon, 26 Jan 2009 10:40:52 -0500
3467
3468ec2-init (0.3) jaunty; urgency=low
3469
3470 * ec2-run-user-data: Fix python error when writing a file to the disk.
3471
3472 -- Chuck Short <zulcss@ubuntu.com> Thu, 15 Jan 2009 11:49:08 -0500
3473
3474ec2-init (0.2) jaunty; urgency=low
3475
3476 * debian/init: Run fetch-credentials before anything else.
3477 (LP: #308533)
3478 * Add ec2-set-hostname.py: Queries ec2 metdada for public-hostname
3479 and then sets it (LP: #316201)
3480
3481 -- Chuck Short <zulcss@ubuntu.com> Tue, 13 Jan 2009 15:20:21 -0500
3482
3483ec2-init (0.1) intrepid; urgency=low
3484
3485 * Initial release (LP: #269434).
3486
3487 -- Soren Hansen <soren@ubuntu.com> Fri, 12 Sep 2008 15:30:32 +0200
3488
diff --git a/debian/cherry-pick b/debian/cherry-pick
0new file mode 1007553489new file mode 100755
index 0000000..dd55724
--- /dev/null
+++ b/debian/cherry-pick
@@ -0,0 +1,197 @@
1#!/bin/bash
2
3VERBOSITY=0
4TEMP_D=""
5CR=$'\n'
6
7error() { echo "$@" 1>&2; }
8fail() { [ $# -eq 0 ] || error "$@"; exit 1; }
9
10Usage() {
11 cat <<EOF
12Usage: ${0##*/} [ options ] <<ARGUMENTS>>
13
14 Cherry pick a patch into debian/patches.
15 Useful to grab an upstream commit to the current packaging branch.
16
17 options:
18 -h | --help show help
19EOF
20}
21
22bad_Usage() { Usage 1>&2; [ $# -eq 0 ] || error "$@"; return 1; }
23cleanup() {
24 [ -z "${TEMP_D}" -o ! -d "${TEMP_D}" ] || rm -Rf "${TEMP_D}"
25}
26
27debug() {
28 local level=${1}; shift;
29 [ "${level}" -gt "${VERBOSITY}" ] && return
30 error "${@}"
31}
32
33shorten() {
34 local name="$1" len="70"
35 while [ "${#name}" -gt "$len" ]; do
36 name="${name%-*}"
37 done
38 _RET="$name"
39}
40
41print_commit() {
42 local subject="$1" author="$2" bugs="$3" aname=""
43 aname=${author% <*}
44 echo "$subject${bugs:+ (LP: ${bugs})}"
45}
46
47print_bugs() {
48 local subject="$1" author="$2" bugs="$3" aname=""
49 echo "$bugs"
50}
51
52git_log_to_dch() {
53 # call printer with subject, author and bugs as extracted
54 # from either git format-patch output or git show output.
55 local line="" commit="" lcommit="" bugs=""
56 local printer="${1:-print_commit}"
57 while :; do
58 read line || break
59 case "$line" in
60 commit\ *|From\ *)
61 if [ -n "$commit" ]; then
62 "$printer" "$subject" "$author" "$bugs"
63 fi
64 commit=${line#* }
65 commit=${commit%% *}
66 bugs=""
67 author=""
68 subject=""
69 ;;
70 Author:\ *|From:\ *) author="${line#*: }";;
71 LP:*) bugs="${bugs:+${bugs}, }${line#*: }";;
72 "") [ -z "$subject" ] && read subject;;
73 Subject:\ *)
74 subject="${line#Subject: }"
75 subject="${subject#\[PATCH\] }"
76 ;;
77 esac
78 done
79 if [ -n "$commit" ]; then
80 "$printer" "$subject" "$author" "$bugs"
81 fi
82}
83
84main() {
85 local short_opts="ho:v"
86 local long_opts="help,verbose"
87 local getopt_out=""
88 getopt_out=$(getopt --name "${0##*/}" \
89 --options "${short_opts}" --long "${long_opts}" -- "$@") &&
90 eval set -- "${getopt_out}" ||
91 { bad_Usage; return; }
92
93 local cur="" next=""
94
95 while [ $# -ne 0 ]; do
96 cur="$1"; next="$2";
97 case "$cur" in
98 -h|--help) Usage ; exit 0;;
99 -v|--verbose) VERBOSITY=$((${VERBOSITY}+1));;
100 --) shift; break;;
101 esac
102 shift;
103 done
104
105 [ -n "$TEMP_D" ] ||
106 TEMP_D=$(mktemp -d "${TMPDIR:-/tmp}/${0##*/}.XXXXXX") ||
107 { error "failed to make tempdir"; return 1; }
108 trap cleanup EXIT
109
110 [ $# -gt 0 ] || { bad_Usage "must provide commit-ish"; return; }
111
112 local r="" commit_in="$1" chash="" shash="" sname="" fname="" cur_br=""
113 cur_br=$(git rev-parse --abbrev-ref HEAD) ||
114 { error "failed to get current branch"; return 1; }
115 chash=$(git show --quiet "--pretty=format:%H" "${commit_in}") ||
116 { error "failed git show $commit_in"; return 1; }
117
118 if git merge-base --is-ancestor "$chash" HEAD; then
119 error "current branch '$cur_br' already contains $commit_in ($chash)"
120 return 1
121 fi
122
123 out=$(git show --quiet "--pretty=format:%h %f" "$chash") ||
124 { error "failed git show $chash"; return 1; }
125
126 shash=${out% *}
127 sname=${out#* }
128 longname="cpick-$shash-$sname"
129 shorten "$longname"
130 fname="$_RET"
131
132 [ -d debian/patches ] || mkdir -p debian/patches ||
133 { error "failed to make debian/patches"; return 1; }
134
135 local series="debian/patches/series" fpath="debian/patches/$fname"
136 if [ -e "$series" ] && out=$(grep -- "-${shash}-" "$series"); then
137 error "$chash already exists in $series"
138 error " $out"
139 return 1
140 fi
141
142 if [ -e "$series" ]; then
143 if out=$(quilt applied 2>&1); then
144 error "there are quilt patches applied!"
145 error "$out"
146 return 1
147 fi
148 fi
149
150 git format-patch --stdout -1 "$chash" > "$fpath" ||
151 { error "failed git format-patch -1 $chash > $fpath"; return 1; }
152
153 echo "$fname" >> "$series" ||
154 { error "failed to write to $series"; return 1; }
155
156 quilt push "$fname" ||
157 { error "patches do not cleanly apply"; return 1; }
158 quilt refresh && quilt pop -a ||
159 { error "failed to refresh or pop quilt"; return 1; }
160
161 local message=""
162 message=$(git_log_to_dch < "$fpath") ||
163 { error "failed getting log entry from $fpath"; return 1; }
164 dch -i "cherry-pick $shash: $message"
165
166 dch -e || {
167 r=$?;
168 error "dch -e exited $r";
169 return $r;
170 }
171
172 local commit_files=""
173 commit_files=( "$series" "$fpath" )
174 git diff HEAD "${commit_files[@]}"
175
176 echo -n "Commit this change? (Y/n): "
177 read answer || fail "failed to read answer"
178 case "$answer" in
179 n|[Nn][oO]) exit 1;;
180 esac
181
182 bugs=$(git_log_to_dch print_bugs < "$fpath")
183 msg="cherry pick $shash${bugs:+${CR}${CR}LP: ${bugs}}"
184 git add "$series" "$fpath" ||
185 { error "failed to git add $series $fpath"; return 1; }
186
187 git commit -m "$msg" "${commit_files[@]}" ||
188 fail "failed to commit '$msg'"
189
190 git commit -m "update changelog" debian/changelog ||
191 fail "failed to commit update to debian changelog."
192
193 return 0
194}
195
196main "$@"
197# vi: ts=4 expandtab
diff --git a/debian/cloud-init.config b/debian/cloud-init.config
0new file mode 100644198new file mode 100644
index 0000000..6e9c6f7
--- /dev/null
+++ b/debian/cloud-init.config
@@ -0,0 +1,78 @@
1#!/bin/sh -e
2
3. /usr/share/debconf/confmodule
4
5hasEc2Md() {
6 local d=/var/lib/cloud i=/var/lib/cloud/instance/ f=""
7 local flist="${i}/datasource ${i}/obj.pkl ${d}/cache/obj.pkl"
8 # search current instance data source information
9 for f in ${flist}; do
10 [ -f "${f}" ] || continue
11 grep -q DataSourceEc2 "${f}" 2>/dev/null && return 0
12 done
13
14
15 # there was no data above found that would have been indicated
16 # by a upgrade. lets just see if we can't find the metadata
17 # service. if wget is not present (it is not 'essential')
18 # then we will quietly return 1
19 local url="http://169.254.169.254/2009-04-04/meta-data/instance-id"
20 i=""
21 if command -v wget >/dev/null 2>&1; then
22 local tout="--connect-timeout 5 --read-timeout 5 --tries 1"
23 i=$(wget "${url}" ${tout} -O - 2>/dev/null) || :
24 elif command -v curl >/dev/null 2>&1; then
25 i=$(curl "${url}" --max-time 1) || :
26 fi
27 # if instance-id starts with 'i-' then in all likelyhood its good
28 [ "${i#i-}" != "${i}" ] && return 0
29 return 1
30}
31
32get_yaml_list() {
33 # get_yaml_list(file, key, def): return a comma delimited list with the value
34 # for the yaml array defined in 'key' from 'file'. if not found , return 'def'
35 # only really supports 'key: [en1, en2 ]' format.
36 local file="$1" key="$2" default="$3"
37 [ -f "$file" ] || return 1
38 # any thing that didn't match the key is deleted so the final 'p' only
39 # prints things that matched.
40 RET=$(sed -n -e "/^$key:/"'!'d -e "s/$key:[ \[]*//"\
41 -e "s, \]$,," -e p "$file")
42 [ -n "$RET" ] || RET="$default"
43}
44
45# old_dpkg_cfg is very old file that is no longer read by cloud-init.
46# it gets re-named to cloud.cfg.d/90_dpkg.cfg in the preinst.
47dpkg_cfg="/etc/cloud/cloud.cfg.d/90_dpkg.cfg"
48old_dpkg_cfg="/etc/cloud/distro.cfg"
49if [ -f "${old_dpkg_cfg}" -a ! -f "$dpkg_cfg" ]; then
50 dpkg_cfg="${old_dpkg_cfg}"
51 echo "WARN: reading value from ${old_dpkg_cfg}" 1>&2
52fi
53if [ -f "$dpkg_cfg" ]; then
54 if get_yaml_list "$dpkg_cfg" datasource_list NOTFOUND &&
55 val="$RET" && [ "$val" != "NOTFOUND" ]; then
56 db_set cloud-init/datasources $val
57 else
58 echo "WARN: failed to read datasource_list from $dpkg_cfg" 1>&2
59 fi
60elif { db_fget cloud-init/datasources seen || : ; } &&
61 [ "${RET}" = "false" ]; then
62 # this is the first time this we've run (installation or re-install after
63 # purge). try to determine if the Ec2 datasource is there.
64 # if it is, and Ec2 was not in the default list, then add it.
65 db_get cloud-init/datasources
66 def="${RET}"
67 case " ${def}," in
68 *\ Ec2,*) :;;
69 *) hasEc2Md &&
70 db_set cloud-init/datasources "${def:+${def}, }Ec2";;
71 esac
72fi
73
74db_input low cloud-init/datasources || true
75db_go
76
77exit 0
78# vi: ts=4 noexpandtab
diff --git a/debian/cloud-init.maintscript b/debian/cloud-init.maintscript
0new file mode 10064479new file mode 100644
index 0000000..93aff81
--- /dev/null
+++ b/debian/cloud-init.maintscript
@@ -0,0 +1,8 @@
1rm_conffile /etc/init/cloud-config.conf 0.7.9-243-ge74d775-0ubuntu2~
2rm_conffile /etc/init/cloud-final.conf 0.7.9-243-ge74d775-0ubuntu2~
3rm_conffile /etc/init/cloud-init-blocknet.conf 0.7.9-243-ge74d775-0ubuntu2~
4rm_conffile /etc/init/cloud-init-container.conf 0.7.9-243-ge74d775-0ubuntu2~
5rm_conffile /etc/init/cloud-init-local.conf 0.7.9-243-ge74d775-0ubuntu2~
6rm_conffile /etc/init/cloud-init-nonet.conf 0.7.9-243-ge74d775-0ubuntu2~
7rm_conffile /etc/init/cloud-init.conf 0.7.9-243-ge74d775-0ubuntu2~
8rm_conffile /etc/init/cloud-log-shutdown.conf 0.7.9-243-ge74d775-0ubuntu2~
diff --git a/debian/cloud-init.postinst b/debian/cloud-init.postinst
0new file mode 1006449new file mode 100644
index 0000000..f88d1c5
--- /dev/null
+++ b/debian/cloud-init.postinst
@@ -0,0 +1,336 @@
1#!/bin/sh -e
2
3. /usr/share/debconf/confmodule
4
5set -f # disable pathname expansion
6db_capb escape # to support carriage return / multi-line values
7
8debug() {
9 [ "${_CI_UPGRADE_DEBUG:-0}" = "0" ] && return 0
10 echo "$@" 1>&2 || :
11}
12
13update_cfg() {
14 # takes filename, header, new object (in yaml), optionally 'remover'
15 # and merges new into existing object in filename, and then updates file
16 # remover a string that means "delete existing entry"
17 python3 -c '
18import sys, yaml
19
20def update(src, cand):
21 if not (isinstance(src, dict) and isinstance(cand, dict)):
22 return cand
23 for k, v in cand.items():
24 # if the candidate has _ as value, delete source
25 if v == REMOVER:
26 if k in src:
27 del src[k]
28 continue
29 if k not in src:
30 src[k] = v
31 else:
32 src[k] = update(src[k], v)
33 return src
34
35(fname, header, newyaml) = sys.argv[1:4]
36REMOVER = object
37if len(sys.argv) == 5:
38 REMOVER = sys.argv[4]
39newcfg = yaml.load(newyaml)
40
41with open(fname, "r") as fp:
42 cfg = yaml.load(fp)
43if not cfg: cfg = {}
44
45cfg = update(cfg, newcfg)
46
47with open(fname, "w") as fp:
48 fp.write(header + "\n")
49 fp.write(yaml.dump(cfg))' "$@"
50}
51
52handle_preseed_maas() {
53 local cfg_file="/etc/cloud/cloud.cfg.d/90_dpkg_maas.cfg"
54 local md_url="" creds_all="" c_key="" t_key="" t_sec="" c_sec="";
55
56 db_get "cloud-init/maas-metadata-url" && md_url="$RET" || :
57 db_get "cloud-init/maas-metadata-credentials" && creds_all="$RET" || :
58
59 # nothing to do
60 [ -n "$md_url" -o -n "$creds_all" ] || return 0
61
62 # change a url query string format into : delimited
63 if [ -n "$creds_all" -a "${creds_all#*&}" != "${creds_all}" ]; then
64 # the command here ends up looking like:
65 # python3 -c '...' 'oauth_consumer_key=v1&oauth_token_key=v2...' \
66 # oauth_consumer_key oauth_token_key oauth_token_secret
67 creds_all=$(python3 -c 'from six.moves.urllib.parse import parse_qs;
68import sys;
69keys = parse_qs(sys.argv[1])
70for k in sys.argv[2:]:
71 sys.stdout.write("%s:" % keys.get(k,[""])[0])' "$creds_all" \
72 oauth_consumer_key oauth_token_key oauth_token_secret
73)
74 fi
75
76 # now, if non-empty creds_all is: consumer_key:token_key:token_secret
77 if [ -n "$creds_all" ]; then
78 OIFS="$IFS"; IFS=:; set -- $creds_all; IFS="$OIFS"
79 c_key=$1; t_key=$2; t_sec=$3
80 fi
81
82 if [ "$md_url" = "_" -a "${c_key}:${t_key}:${t_sec}" = "_:_:_" ]; then
83 # if all these values were '_', the delete value, just delete the file.
84 rm -f "$cfg_file"
85 else
86 local header="# written by cloud-init debian package per preseed entries
87# cloud-init/{maas-metadata-url,/maas-metadata-credentials}"
88
89 local pair="" k="" v="" pload="" orig_umask=""
90 for pair in "metadata_url:$md_url" "consumer_key:${c_key}" \
91 "token_key:${t_key}" "token_secret:$t_sec"; do
92 k=${pair%%:*}
93 v=${pair#${k}:}
94 [ -n "$v" ] && pload="${pload} $k: \"$v\","
95 done
96
97 # '_' would indicate "delete", otherwise, existing entries are left
98 orig_umask=$(umask)
99 umask 066
100 : >> "$cfg_file" && chmod 600 "$cfg_file"
101 update_cfg "$cfg_file" "$header" "datasource: { MAAS: { ${pload%,} } }" _
102 umask ${orig_umask}
103 fi
104
105 # now clear the database of the values, as they've been consumed
106 db_unregister "cloud-init/maas-metadata-url" || :
107 db_unregister "cloud-init/maas-metadata-credentials" || :
108}
109
110handle_preseed_local_cloud_config() {
111 local ccfg="" debconf_name="cloud-init/local-cloud-config"
112 local cfg_file="/etc/cloud/cloud.cfg.d/90_dpkg_local_cloud_config.cfg"
113 local header="# written by cloud-init debian package per preseed entry
114# $debconf_name"
115
116 db_get "${debconf_name}" && ccfg="$RET" || :
117
118 if [ "$ccfg" = "_" ]; then
119 rm -f "$cfg_file"
120 elif [ -n "$ccfg" ]; then
121 { echo "$header"; echo "$ccfg"; } > "$cfg_file"
122 fi
123 db_unregister "${debconf_name}" || :
124}
125
126fix_1336855() {
127 ### Begin fix for LP: 1336855
128 # fix issue where cloud-init misidentifies the location of grub and
129 # where grub misidentifies the location of the device
130
131 # if cloud-init's grub module did not run, then it did not break anything.
132 [ -f /var/lib/cloud/instance/sem/config_grub_dpkg ] || return 0
133
134 # This bug only happened on /dev/xvda devices
135 [ -b /dev/xvda ] || return 0
136
137 # we can't fix the system without /proc/cmdline
138 [ -r /proc/cmdline ] || return 0
139
140 # Don't do anything unless we have grub
141 [ -x /usr/sbin/grub-install ] || return 0
142
143 # First, identify the kernel device for the parent.
144 for parm in $(cat /proc/cmdline); do
145 dev=$(echo $parm | awk -F\= '{print$NF}')
146 case $parm in
147 root=UUID*) [ -d /dev/disk/by-uuid ] &&
148 root_dev=$(readlink -f /dev/disk/by-uuid/$dev);;
149 root=LABEL*) [ -d /dev/disk/by-label ] &&
150 root_dev=$(readlink -f /dev/disk/by-label/$dev);;
151 root=/dev*) [ -d /dev ] &&
152 root_dev=$(readlink -f $dev);;
153 esac
154 [ -n "$root_dev" ] && break
155 done
156
157 # Don't continue if we don't have a root directive
158 [ -z "$root_dev" ] && return 0
159
160 # Only deal with simple, cloud-based devices
161 case $root_dev in
162 /dev/vda*|/dev/xvda*|/dev/sda*) ;;
163 *) return 0;;
164 esac
165
166 # Make sure that we are not chrooted.
167 [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ] && return 0
168
169 # Check if we are in a container, i.e. LXC
170 if systemd-detect-virt --quiet --container || lxc-is-container 2>/dev/null; then
171 return 0
172 fi
173
174 # Find out where grub thinks the root device is. Only continue if
175 # grub postinst would install/reinstall grub
176 db_get grub-pc/install_devices && grub_cfg_dev=${RET} || return 0
177 db_get grub-pc/install_devices_empty && grub_dev_empty=${RET} || return 0
178
179 # Find out the parent device for the root device.
180 # example output: sda/sda1
181 block_path=$(udevadm info -q path -n $root_dev | awk '-Fblock/' '{print$NF}')
182
183 # Extract the parent device name. This works where the device is a block device
184 # example output: /dev/sda
185 parent_dev=$(echo $block_path | awk '-F/' '$1 { if ( $1 ) {print"/dev/"$1}}')
186 [ -b "${parent_dev}" ] || return 0
187
188 # Do nothing if the device that the grub postinst would install is already used
189 [ "$grub_cfg_dev" = "$parent_dev" -o "$grub_cfg_dev" = "$root_dev" ] && return 0
190
191 # If we get here, do the installation
192 echo "Reconfiguring grub install device due to mismatch (LP: #1336855)"
193 echo " Grub should use $parent_dev but is configured for $grub_cfg_dev"
194 db_set grub-pc/install_devices "$parent_dev"
195 grub-install $parent_dev &&
196 echo "Reinstalled grub" ||
197 echo "WARNING! Unable to fix grub device mismatch. You may be broken."
198
199}
200
201cleanup_lp1552999() {
202 local oldver="$1" last_bad_ver="0.7.7~bzr1178"
203 dpkg --compare-versions "$oldver" le "$last_bad_ver" || return 0
204 local edir="/etc/systemd/system/multi-user.target.wants"
205 rm -f "$edir/cloud-config.service" "$edir/cloud-final.service" \
206 "$edir/cloud-init-local.service" "$edir/cloud-init.service"
207}
208
209disable_network_config_on_upgrade() {
210 local oldver="$1" last_without_net="0.7.7~bzr1182-0ubuntu1"
211 if [ ! -f /var/lib/cloud/instance/obj.pkl ]; then
212 # this is a fresh system not one that has been booted.
213 return 0
214 fi
215 if dpkg --compare-versions "$oldver" le "$last_without_net"; then
216 echo "dpkg upgrade from $oldver" > /var/lib/cloud/data/upgraded-network
217 fi
218}
219
220fix_azure_upgrade_1611074() {
221 # adjust /etc/fstab on azure so boot after resize does not mount
222 # /mnt as ntfs and stop re-formatting.
223 local fixed_ver="0.7.8-49-1" dspath="/var/lib/cloud/instance/datasource"
224 local oldver="$1" tmpf="" r="" wmsg="" me="cloud-init postinst"
225
226 # if not on azure, or not booted with instance/ skip out.
227 if [ ! -e "$dspath" ]; then
228 debug "no $dspath"
229 return 0
230 fi
231 if ! grep -qi azure "$dspath"; then
232 debug "not on azure per $dspath"
233 return 0
234 fi
235
236 # if there is no /etc/fstab, then nothing to fix.
237 if [ ! -e /etc/fstab ]; then
238 debug "no /etc/fstab"
239 return 0
240 fi
241
242 if dpkg --compare-versions "$oldver" ge "$fixed_ver"; then
243 debug "previous version was fixed"
244 return 0
245 fi
246
247 wmsg="WARN: $me failed."
248 wmsg="$wmsg Subsequent resize may not update ephemeral correctly."
249 tmpf=$(mktemp "${TMPDIR:-/tmp}/cloud-init-upgrade.XXXXXX") || {
250 echo "$wmsg (mktemp failed with $?)" 1>&2
251 return 0;
252 }
253
254 awk '{
255 if ($4 !~ /x-systemd.requires/ && $4 ~ /comment=cloudconfig/) {
256 sub(/comment=cloudconfig/, "x-systemd.requires=cloud-init.service,comment=cloudconfig")
257 }
258 printf("%s\n", $0)}' /etc/fstab > "$tmpf" || {
259 echo "$wmsg (awk reading of /etc/fstab failed with $?)" 1>&2
260 rm -f "$tmpf"
261 return 0;
262 }
263 if cmp /etc/fstab "$tmpf" >/dev/null 2>&1; then
264 debug "no changes needed."
265 else
266 cat "$tmpf" > /etc/fstab || {
267 r=$?
268 echo "$wmsg (cp $tmpf /etc/fstab failed with $r)"
269 echo ==== expected to write the following to /etc/fstab =====
270 cat "$tmpf"
271 echo ========================================================
272 return $r
273 } 1>&2
274 echo "$me fixed /etc/fstab for x-systemd.requires" 1>&2
275 fi
276 rm "$tmpf" || :
277}
278
279cleanup_ureadahead() {
280 local oldver="$1" last_bad_ver="0.7.9-243-ge74d775-0ubuntu2~"
281 dpkg --compare-versions "$oldver" le "$last_bad_ver" || return 0
282 dpkg-divert --package cloud-init --remove --rename --divert \
283 /etc/init/ureadahead.conf.disabled /etc/init/ureadahead.conf
284}
285
286if [ "$1" = "configure" ]; then
287 if db_get cloud-init/datasources; then
288 values="$RET"
289 if [ "${values#*MaaS}" != "${values}" ]; then
290 # if db had old MAAS spelling, fix it.
291 values=$(echo "$values" | sed 's,MaaS,MAAS,g')
292 db_set cloud-init/datasources "$values"
293 fi
294 cat > /etc/cloud/cloud.cfg.d/90_dpkg.cfg <<EOF
295# to update this file, run dpkg-reconfigure cloud-init
296datasource_list: [ $values ]
297EOF
298 fi
299
300 # we want to affect apt_pipelining on install, not wait for
301 # cloud-init to run it on next boot.
302 pipeline_f="/etc/apt/apt.conf.d/90cloud-init-pipelining"
303 if [ -f /var/lib/cloud/instance/obj.pkl ]; then
304 cloud-init single --name apt-pipelining --frequency once >/dev/null 2>&1 ||
305 echo "Warning: failed to setup apt-pipelining" 1>&2
306 elif [ ! -f "$pipeline_f" ]; then
307 # there was no cloud available, so populate it ourselves.
308 cat > "$pipeline_f" <<EOF
309//Written by cloud-init per 'apt_pipelining'
310Acquire::http::Pipeline-Depth "0";
311EOF
312 fi
313
314 # if there are maas settings pre-seeded apply them
315 handle_preseed_maas
316
317 # if there is generic cloud-config preseed, apply them
318 handle_preseed_local_cloud_config
319
320 # fix issue where cloud-init misidentifies the location of grub
321 fix_1336855
322
323 # make upgrades disable network changes by cloud-init
324 disable_network_config_on_upgrade "$2"
325
326 fix_azure_upgrade_1611074 "$2"
327
328 cleanup_ureadahead "$2"
329fi
330
331#DEBHELPER#
332
333if [ "$1" = "configure" ]; then
334 oldver="$2"
335 cleanup_lp1552999 "$oldver"
336fi
diff --git a/debian/cloud-init.postrm b/debian/cloud-init.postrm
0new file mode 100644337new file mode 100644
index 0000000..4e20db1
--- /dev/null
+++ b/debian/cloud-init.postrm
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3set -e
4
5case "$1" in
6 purge)
7 rm -f /etc/cloud/cloud.cfg.d/90_dpkg.cfg
8 rm -f /etc/apt/apt.conf.d/90cloud-init-pipelining
9 ;;
10 remove)
11 rm -f /etc/cloud/cloud.cfg.d/90cloud-init-pipelining
12 ;;
13esac
14
15#DEBHELPER#
diff --git a/debian/cloud-init.preinst b/debian/cloud-init.preinst
0new file mode 10064416new file mode 100644
index 0000000..c8406e3
--- /dev/null
+++ b/debian/cloud-init.preinst
@@ -0,0 +1,254 @@
1#!/bin/sh
2set -e
3
4# Remove a no-longer used conffile
5rm_conffile() {
6 local PKGNAME="$1"
7 local CONFFILE="$2"
8
9 [ -e "$CONFFILE" ] || return 0
10
11 local md5sum="$(md5sum $CONFFILE | sed -e 's/ .*//')"
12 local old_md5sum="$(dpkg-query -W -f='${Conffiles}' $PKGNAME | \
13 sed -n -e "\' $CONFFILE ' { s/ obsolete$//; s/.* //; p }")"
14 if [ "$md5sum" != "$old_md5sum" ]; then
15 echo "Obsolete conffile $CONFFILE has been modified by you."
16 echo "Saving as $CONFFILE.dpkg-bak ..."
17 mv -f "$CONFFILE" "$CONFFILE".dpkg-bak
18 else
19 echo "Removing obsolete conffile $CONFFILE ..."
20 rm -f "$CONFFILE"
21 fi
22}
23
24# move_sem(src,targets)
25# rename sem/* items named $src to $targets
26# (with hard links if more than one)
27move_sem() {
28 local src=$1 f="" targ="" freqid="" dir=/var/lib/cloud/sem
29 shift
30 # link the remaining targets to src, if it exists
31 for f in "${dir}/${src}."*; do
32 # if there were no src entries, nothing to do
33 [ -f "${f}" ] || return 0
34 freqid=${f#${dir}/${src}.} # 'i-abcdefg' or 'always'
35 for targ in "$@"; do
36 [ -e "${dir}/${targ}.${freqid}" ] && continue
37 ln -f "${f}" "${dir}/${targ}.${freqid}"
38 done
39 rm "${f}"
40 done
41 return 0
42}
43
44fix_ephemeral0_micro() {
45 # make ephemeral0 entries in /etc/fstab written by cloudconfig
46 # 'nobootwait', so they do not block subsequent boots (LP: #634102)
47 local out="" oldver=$1 dev="" adop="nobootwait"
48 local s="[[:space:]]" ns="[^[:space:]]" # space and "not space"
49 local remain="${s}\+.*" first4=""
50 for dev in /dev/sda2 /dev/sdb; do
51 first4="${dev}$s\+$ns\+$s\+$ns\+$s\+$ns\+"
52 out=$(awk '$1 == dev && $4 ~ /cloudconfig/ && $4 !~ op { print $1 ; }' \
53 dev="${dev}" "op=${adop}" /etc/fstab) || return 0
54 [ -n "${out}" ] || continue
55 echo "making ephemeral ${dev} in /etc/fstab ${adop} (LP: #634102)" 1>&2
56 sed -i "s|^\(${first4}\)\(${remain}\)|\1,${adop}\2|" /etc/fstab
57 done
58}
59
60convert_varlib_05x_06x() {
61 local url="http://169.254.169.254/2009-04-04/meta-data/instance-id"
62 local tout="--connect-timeout .5 --read-timeout .5"
63 local iid="" f="" uptime="" bn=""
64 iid=$(wget "${url}" ${tout} --tries 1 -O - 2>/dev/null) || iid=""
65
66 [ -n "${iid}" -a -d /var/lib/cloud ] || return 0
67 cd /var/lib/cloud
68 mkdir -p "instances/${iid}" "instances/${iid}/sem"
69 [ -e instance ] || ln -sf "instances/${iid}" instance
70 for f in data/*; do
71 [ -f "$f" ] || continue
72 case "${f#*/}" in
73 user-data.txt.i|user-data.txt|cloud-config.txt)
74 mv "${f}" instance/
75 ;;
76 esac
77 done
78 [ -f data/cache/obj.pkl ] && mv data/cache/obj.pkl instance/
79 for f in sem/*.${iid}; do
80 [ -f "${f}" ] || continue
81 bn=${f#*/}; bn=${bn%.${iid}}
82 case "${bn}" in
83 set_defaults) mv "${f}" "instance/sem/config-locale";;
84 set_hostname) mv "${f}" "instance/sem/config-set_hostname";;
85 *) mv "${f}" "instance/sem/${bn}";;
86 esac
87 done
88 [ ! -f sem/update_hostname.always ] ||
89 mv sem/update_hostname.always sem/config-update_hostname.always
90 rmdir data/cache 2>/dev/null || :
91 rm -f data/available.build
92
93 mkdir -p instance/scripts
94 if [ -d data/scripts ]; then
95 mv data/scripts/* instance/scripts || :
96 rmdir data/scripts || :
97 fi
98 [ -d data/scripts/* ] && mv data/scripts instance/
99
100 [ ! -e instance/boot-finished ] &&
101 [ -f /proc/uptime ] && read uptime other </proc/uptime &&
102 echo "${uptime}" > instance/boot-finished || :
103
104 return 0
105}
106
107azure_apply_new_instance_id_1506187() {
108 # With LP: #1506187, the Azure instance ID detection method was changed
109 # to use the DMI data. In order to prevent existing instances from thinking
110 # they are new instances, the instance ID needs to be updated here.
111
112 if grep DataSourceAzure /var/lib/cloud/instance/datasource > /dev/null 2>&1; then
113
114 product_id_f="/sys/devices/virtual/dmi/id/product_uuid"
115 instance_id_f="/var/lib/cloud/data/instance-id"
116
117 if [ ! -e "${product_id_f}" -o ! -e "${instance_id_f}" ]; then
118 return 0
119 fi
120
121 # Get the current instance ID's (new and old)
122 new_instance_id="$(cat ${product_id_f})"
123 old_instance_id="$(cat ${instance_id_f})"
124
125 if [ "${new_instance_id}" = "${old_instance_id}" ]; then
126 # this may have been applied for a prior version, i.e. upgrading
127 # from 14.04 to 16.04
128 return 0
129
130 elif [ -z "${new_instance_id}" -o -z "${old_instance_id}" ]; then
131 cat <<EOM
132
133WARNING: Failed to migrate old instance ID to new instance ID.
134 Cloud-init may detect this instance as a new instance upon reboot.
135 Please see: https://bugs.launchpad.net/bug/1506187
136
137EOM
138
139 elif [ "${new_instance_id}" != "${old_instance_id}" ]; then
140 cat <<EOM
141
142AZURE: this instance uses an unstable instance ID. Cloud-init will
143 migrate the instance ID from:
144 ${old_instance_id}
145 to:
146 ${new_instance_id}
147 For more information about this change, please see:
148 https://bugs.launchpad.net/bug/1506187
149 https://azure.microsoft.com/en-us/blog/accessing-and-using-azure-vm-unique-id
150
151EOM
152
153 # Write the new instance id
154 echo "${new_instance_id}" > /var/lib/cloud/data/instance-id
155
156 # Remove the symlink for the instance
157 rm /var/lib/cloud/instance
158
159 # Rename the old instance id to the new one
160 mv /var/lib/cloud/instances/${old_instance_id} \
161 /var/lib/cloud/instances/${new_instance_id}
162
163 # Link the old id to the new one, just incase
164 ln -s /var/lib/cloud/instances/${new_instance_id} \
165 /var/lib/cloud/instances/${old_instance_id}
166
167 # Make the active instance the new id
168 ln -s /var/lib/cloud/instances/${new_instance_id} \
169 /var/lib/cloud/instance
170 fi
171fi
172}
173
174cleanup_lp1552999() {
175 local oldver="$1" last_bad_ver="0.7.7~bzr1178"
176 dpkg --compare-versions "$oldver" le "$last_bad_ver" || return 0
177 local hdir="/var/lib/systemd/deb-systemd-helper-enabled"
178 hdir="$hdir/multi-user.target.wants"
179 local edir="/etc/systemd/system/multi-user.target.wants"
180 rm -f "$hdir/cloud-config.service" "$hdir/cloud-final.service" \
181 "$hdir/cloud-init-local.service" "$hdir/cloud-init.service"
182}
183
184case "$1" in
185 install|upgrade)
186 # removing obsolete conffiles from the 'ec2-init' package
187 if dpkg --compare-versions "$2" le "0.5.1"; then
188 rm_conffile ec2-init "/etc/init/cloud-ssh-keygen.conf"
189 fi
190 if dpkg --compare-versions "$2" lt "0.5.3"; then
191 rm_conffile ec2-init "/etc/init/ec2init.conf"
192 fi
193 if [ "$2" = "0.5.7-0ubuntu1" ]; then
194 bad_d=/etc/update-motd.d/92-ec2-upgrade-available
195 rm_conffile cloud-init "${bad_d}/motd-hook"
196 # the dir for this file is almost certainly empty, but
197 # if the file above was only moved, or other files there
198 # then leave it be
199 rmdir "${bad_d}" 2>/dev/null || true
200 fi
201
202 if dpkg --compare-versions "$2" le "0.5.10-0ubuntu2"; then
203 old_confs="cloud-apt-update-upgrade cloud-config-misc
204 cloud-config-mounts cloud-config-puppet
205 cloud-config-ssh cloud-disable-ec2-metadata"
206 for f in ${old_confs}; do
207 rm_conffile cloud-init "/etc/init/${f}.conf"
208 done
209 fi
210
211 if dpkg --compare-versions "$2" le "0.5.11-0ubuntu1"; then
212 # rename the config entries in sem/ so they're not run again
213
214 # transition names in 0.5.11 had only short name (no config- prefix)
215 # so create config- entries for each
216 for name in apt-update-upgrade disable-ec2-metadata mounts \
217 puppet runcmd ssh updates-check; do
218 move_sem ${name} config-${name}
219 done
220
221 # 0.5.11 split 'config-misc' into 'updates-check' and 'runcmd'
222 move_sem config-misc config-updates-check config-runcmd
223 fi
224
225 if dpkg --compare-versions "$2" le "0.5.14-0ubuntu5"; then
226 fix_ephemeral0_micro
227 fi
228
229 if dpkg --compare-versions "$2" le 0.6.0-0ubuntu1; then
230 # convert /var/lib/cloud from 0.5.x layout to 0.6.x
231 convert_varlib_05x_06x
232 fi
233
234 # 0.6.0 changed 'user-scripts' to config-scripts-user (LP: #1049146)
235 if [ -e /var/lib/cloud/instance/sem/user-scripts ]; then
236 ln -sf user-scripts /var/lib/cloud/instance/sem/config-scripts-user
237 fi
238
239 # 0.7.7-bzr1556 introduced new instance ID source for Azure
240 if dpkg --compare-versions "$2" le "0.7.7~bzr1556-0ubuntu1"; then
241 azure_apply_new_instance_id_1506187
242 fi
243
244 d=/etc/cloud/
245 if [ -f "$d/distro.cfg" ] && [ ! -f "$d/cloud.cfg.d/90_dpkg.cfg" ]; then
246 echo "moving $d/distro.cfg -> $d/cloud.cfg.d/90_dpkg.cfg"
247 [ -d "${d}/cloud.cfg.d" ] || mkdir "${d}/cloud.cfg.d"
248 mv "$d/distro.cfg" "$d/cloud.cfg.d/90_dpkg.cfg"
249 fi
250
251 cleanup_lp1552999 "$oldver"
252esac
253
254#DEBHELPER#
diff --git a/debian/cloud-init.prerm b/debian/cloud-init.prerm
0new file mode 100644255new file mode 100644
index 0000000..8954fa4
--- /dev/null
+++ b/debian/cloud-init.prerm
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3set -e
4rm -f /etc/cron.d/cloudinit-updates
5
6#DEBHELPER#
diff --git a/debian/cloud-init.templates b/debian/cloud-init.templates
0new file mode 1006447new file mode 100644
index 0000000..5ed37f7
--- /dev/null
+++ b/debian/cloud-init.templates
@@ -0,0 +1,12 @@
1Template: cloud-init/datasources
2Type: multiselect
3Default: NoCloud, ConfigDrive, OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Bigstep, Scaleway, AliYun, Ec2, CloudStack, None
4Choices-C: NoCloud, ConfigDrive, OpenNebula, DigitalOcean, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, SmartOS, Bigstep, Scaleway, AliYun, Ec2, CloudStack, None
5Choices: NoCloud: Reads info from /var/lib/cloud/seed only, ConfigDrive: Reads data from Openstack Config Drive, OpenNebula: read from OpenNebula context disk, DigitalOcean: reads data from Droplet datasource, Azure: read from MS Azure cdrom. Requires walinux-agent, AltCloud: config disks for RHEVm and vSphere, OVF: Reads data from OVF Transports, MAAS: Reads data from Ubuntu MAAS, GCE: google compute metadata service, OpenStack: native openstack metadata service, CloudSigma: metadata over serial for cloudsigma.com, SmartOS: Read from SmartOS metadata service, Bigstep: Bigstep metadata service, Scaleway: Scaleway metadata service, AliYun: Alibaba metadata service, Ec2: reads data from EC2 Metadata service, CloudStack: Read from CloudStack metadata service, None: Failsafe datasource
6Description: Which data sources should be searched?
7 Cloud-init supports searching different "Data Sources" for information
8 that it uses to configure a cloud instance.
9 .
10 Warning: Only select 'Ec2' if this system will be run on a system with
11 the EC2 metadata service present. Doing so incorrectly will result in
12 a substantial timeout on boot.
diff --git a/debian/compat b/debian/compat
0new file mode 10064413new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
19
diff --git a/debian/control b/debian/control
0new file mode 1006442new file mode 100644
index 0000000..3f46d7b
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,61 @@
1Source: cloud-init
2Section: admin
3Priority: extra
4Maintainer: Scott Moser <smoser@ubuntu.com>
5Build-Depends: debhelper (>= 9),
6 dh-python,
7 dh-systemd,
8 iproute2,
9 pep8,
10 po-debconf,
11 pyflakes,
12 python3,
13 python3-configobj,
14 python3-httpretty,
15 python3-jinja2,
16 python3-jsonpatch,
17 python3-jsonschema,
18 python3-mock,
19 python3-nose,
20 python3-oauthlib,
21 python3-pep8,
22 python3-pyflakes | pyflakes (<< 1.1.0-2),
23 python3-requests,
24 python3-serial,
25 python3-setuptools,
26 python3-six,
27 python3-unittest2,
28 python3-yaml
29XS-Python-Version: all
30Vcs-Browser: https://git.launchpad.net/cloud-init/?h=ubuntu/devel
31Vcs-Git: git://git.launchpad.net/cloud-init -b ubuntu/devel
32Standards-Version: 3.9.8
33
34Package: cloud-init
35Architecture: all
36Depends: cloud-guest-utils | cloud-utils,
37 nplan | ifupdown,
38 procps,
39 python3,
40 python3-requests,
41 python3-serial,
42 ${misc:Depends},
43 ${python3:Depends}
44Recommends: eatmydata, gdisk, software-properties-common
45XB-Python-Version: ${python:Versions}
46Description: Init scripts for cloud instances
47 Cloud instances need special scripts to run during initialisation
48 to retrieve and install ssh keys and to let the user run various scripts.
49
50Package: grub-legacy-ec2
51Depends: debconf | cdebconf,
52 ucf,
53 util-linux,
54 ${misc:Depends}
55Conflicts: grub
56Suggests: grub-legacy-doc
57Architecture: all
58Description: Handles update-grub for ec2 instances
59 EC2 instances that use grub-legacy as a bootloader need a way to keep
60 /boot/grub/menu.lst up to date while not conflicting with grub-pc.
61 This package provides that.
diff --git a/debian/copyright b/debian/copyright
0new file mode 10064462new file mode 100644
index 0000000..598cda1
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,40 @@
1Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2Upstream-Name: cloud-init
3Upstream-Contact: cloud-init-dev@lists.launchpad.net
4Source: https://launchpad.net/cloud-init
5
6Files: *
7Copyright: 2010, Canonical Ltd.
8License: GPL-3 or Apache-2.0
9
10License: GPL-3
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU General Public License version 3, as
13 published by the Free Software Foundation.
14 .
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
19 .
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 .
23 The complete text of the GPL version 3 can be seen in
24 /usr/share/common-licenses/GPL-3.
25
26License: Apache-2.0
27 Licensed under the Apache License, Version 2.0 (the "License");
28 you may not use this file except in compliance with the License.
29 You may obtain a copy of the License at
30 .
31 http://www.apache.org/licenses/LICENSE-2.0
32 .
33 Unless required by applicable law or agreed to in writing, software
34 distributed under the License is distributed on an "AS IS" BASIS,
35 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
36 See the License for the specific language governing permissions and
37 limitations under the License.
38 .
39 On Debian-based systems the full text of the Apache version 2.0 license
40 can be found in `/usr/share/common-licenses/Apache-2.0'.
diff --git a/debian/grub-legacy-ec2.install b/debian/grub-legacy-ec2.install
0new file mode 10064441new file mode 100644
index 0000000..f9ac628
--- /dev/null
+++ b/debian/grub-legacy-ec2.install
@@ -0,0 +1,4 @@
1debian/grub-set-default usr/sbin
2debian/grub-set-default-legacy-ec2 usr/sbin
3debian/kernel etc/
4debian/update-grub-legacy-ec2 usr/sbin
diff --git a/debian/grub-legacy-ec2.lintian-overrides b/debian/grub-legacy-ec2.lintian-overrides
0new file mode 1006445new file mode 100644
index 0000000..ed8c77f
--- /dev/null
+++ b/debian/grub-legacy-ec2.lintian-overrides
@@ -0,0 +1,6 @@
1# no-debconf-config and debconf-is-not-a-registry lintian errors
2# are present in the ubuntu grub package that these were pulled from.
3# they're due to the use of debconf for merging prompt in
4# update-grub-legacy-ec2
5grub-legacy-ec2 binary: no-debconf-config
6grub-legacy-ec2 binary: debconf-is-not-a-registry
diff --git a/debian/grub-legacy-ec2.postinst b/debian/grub-legacy-ec2.postinst
0new file mode 1006447new file mode 100644
index 0000000..3c4aa5c
--- /dev/null
+++ b/debian/grub-legacy-ec2.postinst
@@ -0,0 +1,10 @@
1#!/bin/sh
2
3set -e
4
5if [ "$1" = "configure" ]; then
6 mkdir -p /boot/grub
7 update-grub-legacy-ec2 -y
8fi
9
10#DEBHELPER#
diff --git a/debian/grub-legacy-ec2.postrm b/debian/grub-legacy-ec2.postrm
0new file mode 10064411new file mode 100644
index 0000000..5018423
--- /dev/null
+++ b/debian/grub-legacy-ec2.postrm
@@ -0,0 +1,17 @@
1#!/bin/sh
2set -e
3
4if [ "$1" = purge ]; then
5 if [ -x "`which ucf 2>/dev/null`" ]; then
6 ucf --purge /var/run/grub/menu.lst
7 fi
8 if [ -x "`which ucfr 2>/dev/null`" ]; then
9 ucfr --purge grub /var/run/grub/menu.lst
10 fi
11fi
12
13if [ "$1" = "remove" ]; then
14 dpkg-divert --package grub-legacy-ec2 --remove --rename --divert \
15 /usr/sbin/grub-set-default.real /usr/sbin/grub-set-default
16fi
17#DEBHELPER#
diff --git a/debian/grub-legacy-ec2.preinst b/debian/grub-legacy-ec2.preinst
0new file mode 10064418new file mode 100644
index 0000000..ac73b42
--- /dev/null
+++ b/debian/grub-legacy-ec2.preinst
@@ -0,0 +1,9 @@
1#!/bin/sh
2set -e
3
4if [ "$1" = "install" -o "$1" = "upgrade" ]; then
5 dpkg-divert --package grub-legacy-ec2 --rename --divert \
6 /usr/sbin/grub-set-default.real --add /usr/sbin/grub-set-default
7fi
8
9#DEBHELPER#
diff --git a/debian/grub-legacy-ec2.templates b/debian/grub-legacy-ec2.templates
0new file mode 10064410new file mode 100644
index 0000000..0562c8c
--- /dev/null
+++ b/debian/grub-legacy-ec2.templates
@@ -0,0 +1,9 @@
1Template: grub/update_grub_changeprompt_threeway
2Type: select
3# Translators, please keep translations *short* (less than 65 columns)
4__Choices: install the package maintainer's version, keep the local version currently installed, show the differences between the versions, show a side-by-side difference between the versions, show a 3-way difference between available versions, do a 3-way merge between available versions (experimental), start a new shell to examine the situation
5Choices-C: install_new, keep_current, diff, sdiff, diff_threeway, merge_threeway, shell
6Default: keep_current
7_Description: What would you like to do about ${BASENAME}?
8 A new version of /boot/grub/menu.lst is available, but the version installed
9 currently has been locally modified.
diff --git a/debian/grub-set-default b/debian/grub-set-default
0new file mode 10075510new file mode 100755
index 0000000..8816bc7
--- /dev/null
+++ b/debian/grub-set-default
@@ -0,0 +1,38 @@
1#!/bin/sh
2
3diverted=/usr/sbin/grub-set-default.real
4legacy_ec2=/usr/sbin/grub-set-default-legacy-ec2
5normal=/usr/sbin/grub-set-default
6
7warn() { echo "WARNING:" "$@" 1>&2; }
8Usage() {
9 cat <<EOF
10${0} is a wrapper provided by grub-legacy-ec2.
11It ensures that the appropriate 'set-default' is called.
12For specific version or help info invoke one of the following directly:
13 ${diverted}
14 and
15 ${legacy_ec2}
16EOF
17}
18
19[ $# -eq 0 ] && { Usage; exit 1; }
20for a in "$@"; do
21 case "$a" in
22 --help|-h|-v|--version) Usage; exit 0;;
23 esac
24done
25
26"${legacy_ec2}" "${@}"
27lret=$?
28[ ${lret} -eq 0 ] || warn "${legacy_ec2} returned ${lret}"
29
30dret=0
31if [ -x "${diverted}" -a -f "/boot/grub/grub.cfg" ]; then
32 "${diverted}" "$@"
33 dret=$?
34fi
35[ ${dret} -eq 0 ] || warn "${diverted} returned ${dret}"
36
37[ $lret -eq 0 -a $dret -eq 0 ]
38exit
diff --git a/debian/grub-set-default-legacy-ec2 b/debian/grub-set-default-legacy-ec2
0new file mode 10064439new file mode 100644
index 0000000..dcd88fb
--- /dev/null
+++ b/debian/grub-set-default-legacy-ec2
@@ -0,0 +1,141 @@
1#! /bin/sh
2
3# Set a default boot entry for GRUB
4# Copyright (C) 2004 Free Software Foundation, Inc.
5#
6# This file is free software; you can redistribute it and/or modify it
7# under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 2 of the License, or
9# (at your option) any later version.
10#
11# This program is distributed in the hope that it will be useful, but
12# WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14# General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with this program; if not, write to the Free Software
18# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
20# Initialize some variables.
21PACKAGE=grub-legacy-ec2
22VERSION=0.97-29ubuntu60
23
24rootdir=
25entry=
26
27# Usage: usage
28# Print the usage.
29usage () {
30 cat <<EOF
31Usage: grub-set-default [OPTION] entry
32Set the default boot entry for GRUB.
33
34 -h, --help print this message and exit
35 -v, --version print the version information and exit
36 --root-directory=DIR Use the directory DIR instead of the root directory
37
38ENTRY is a number or the special keyword \`default\'.
39
40Report bugs to <bug-grub@gnu.org>.
41EOF
42}
43
44# Check the arguments.
45for option in "$@"; do
46 case "$option" in
47 -h | --help)
48 usage
49 exit 0 ;;
50 -v | --version)
51 echo "grub-set-default (GNU GRUB ${VERSION})"
52 exit 0 ;;
53 --root-directory=*)
54 rootdir=`echo "$option" | sed 's/--root-directory=//'` ;;
55 -*)
56 echo "Unrecognized option \`$option'" 1>&2
57 usage
58 exit 1
59 ;;
60 *)
61 if test "x$entry" != x; then
62 echo "More than one entries?" 1>&2
63 usage
64 exit 1
65 fi
66 # We don't care about what the user specified actually.
67 entry="${option}" ;;
68 esac
69done
70
71if test "x$entry" = x; then
72 echo "entry not specified." 1>&2
73 usage
74 exit 1
75fi
76
77find_grub_dir ()
78{
79 echo -n "Searching for GRUB installation directory ... " >&2
80
81 for d in $grub_dirs ; do
82 if [ -d "$d" ] ; then
83 grub_dir="$d"
84 break
85 fi
86 done
87
88 if [ -z "$grub_dir" ] ; then
89 abort "No GRUB directory found.\n###"
90 else
91 echo "found: $grub_dir" >&2
92 fi
93
94 echo $grub_dir
95}
96
97grub_dirs="/boot/grub /boot/boot/grub"
98
99# Determine the GRUB directory. This is different among OSes.
100# if rootdir has been informed use it or find grubdir otherwise
101if [ -n "${rootdir}" ]; then
102 grubdir=${rootdir}/boot/grub
103 if test -d ${grubdir}; then
104 :
105 else
106 grubdir=${rootdir}/grub
107 if test -d ${grubdir}; then
108 :
109 else
110 echo "No GRUB directory found under ${rootdir}/" 1>&2
111 exit 1
112 fi
113 fi
114else
115 grubdir=$(find_grub_dir)
116fi
117
118file=${grubdir}/default
119if test -f ${file}; then
120 chmod 0600 ${file}
121 rm -f ${file}
122fi
123cat <<EOF > $file
124$entry
125#
126#
127#
128#
129#
130#
131#
132#
133#
134#
135# WARNING: If you want to edit this file directly, do not remove any line
136# from this file, including this warning. Using \`grub-set-default\' is
137# strongly recommended.
138EOF
139
140# Bye.
141exit 0
diff --git a/debian/kernel/postinst.d/x-grub-legacy-ec2 b/debian/kernel/postinst.d/x-grub-legacy-ec2
0new file mode 100755142new file mode 100755
index 0000000..3343651
--- /dev/null
+++ b/debian/kernel/postinst.d/x-grub-legacy-ec2
@@ -0,0 +1,18 @@
1#!/bin/sh
2
3version="$1"
4bootopt=""
5
6# passing the kernel version is required
7[ -z "${version}" ] && exit 0
8
9# avoid running multiple times
10if [ -n "$DEB_MAINT_PARAMS" ]; then
11 eval set -- "$DEB_MAINT_PARAMS"
12 if [ -z "$1" ] || [ "$1" != "configure" ]; then
13 exit 0
14 fi
15fi
16
17update=/usr/sbin/update-grub-legacy-ec2
18[ ! -x "${update}" ] || exec "${update}"
diff --git a/debian/kernel/postrm.d/x-grub-legacy-ec2 b/debian/kernel/postrm.d/x-grub-legacy-ec2
0new file mode 10075519new file mode 100755
index 0000000..6f6aa4a
--- /dev/null
+++ b/debian/kernel/postrm.d/x-grub-legacy-ec2
@@ -0,0 +1,18 @@
1#!/bin/sh
2
3version="$1"
4bootopt=""
5
6# passing the kernel version is required
7[ -z "${version}" ] && exit 0
8
9# avoid running multiple times
10if [ -n "$DEB_MAINT_PARAMS" ]; then
11 eval set -- "$DEB_MAINT_PARAMS"
12 if [ -z "$1" ] || [ "$1" != "remove" ]; then
13 exit 0
14 fi
15fi
16
17update=/usr/sbin/update-grub-legacy-ec2
18[ ! -x "${update}" ] || exec "${update}"
diff --git a/debian/new-upstream-snapshot b/debian/new-upstream-snapshot
0new file mode 10075519new file mode 100755
index 0000000..6ad8af6
--- /dev/null
+++ b/debian/new-upstream-snapshot
@@ -0,0 +1,170 @@
1#!/bin/sh
2
3TEMP_D=""
4CR='
5'
6error() { echo "$@" 1>&2; }
7fail() { [ $# -eq 0 ] || error "$@"; exit 1; }
8Usage() {
9cat <<EOF
10${0##*/} [branch]
11 update current branch with trunk branch.
12 branch defaults to 'master'
13EOF
14}
15
16print_commit() {
17 local subject="$1" author="$2" bugs="$3" aname="" buf="" abugs=""
18 local indent=" - " indent2=" " ll=79
19 aname=${author% <*}
20 [ "${aname}" = "Scott Moser" ] && aname=""
21 abugs="${aname:+ [${aname}]}${bugs:+ (LP: ${bugs})}"
22 if [ $((${#subject}+${#abugs})) -le $(($ll-${#indent})) ]; then
23 echo "${indent}${subject}${abugs}"
24 elif [ ${#subject} -ge $(($ll-${#indent})) ]; then
25 echo "${subject}${abugs}" |
26 fmt --width=$(($ll-${#indent})) |
27 sed -e "1s/^/${indent}/; 1n;" \
28 -e 's/^[ ]*//' \
29 -e '/^[ ]*$/d' -e "s/^/$indent2/" -e 's/[ ]\+$//'
30
31 else
32 ( echo "${subject}"; echo "${abugs}" ) |
33 fmt --width=$(($ll-${#indent})) |
34 sed -e "1s/^/${indent}/; 1n;" \
35 -e 's/^[ ]*//' \
36 -e '/^[ ]*$/d' -e "s/^/$indent2/" -e 's/[ ]\+$//'
37 fi
38}
39
40git_log_to_dch() {
41 local line="" commit="" lcommit="" bugs=""
42 while :; do
43 read line || break
44 case "$line" in
45 commit\ *)
46 if [ -n "$commit" ]; then
47 print_commit "$subject" "$author" "$bugs"
48 fi
49 commit=${line#*: }
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches