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

Subscribers

People subscribed via source and target branches