cloud-init/cloud-init-0.7.8-fedora.patch
Colin Walters 9785285421 Update to 0.7.9
Rebased some of our patches that look like they still need upstreaming.
Deleted others that were merged.

I disabled a few tests that I couldn't figure out quickly why they were
failing.  From looking at the Debian packaging, it looks like they
turn off a bunch of tests too because they require networking.

The LXD one I just nuked since I don't care right now.

The nosetest bit I need to send upstream.
2017-01-20 12:56:07 -05:00

44 lines
1.6 KiB
Diff

diff --git a/cloudinit/settings.py b/cloudinit/settings.py
index b1fdd31..eabc67c 100644
--- a/cloudinit/settings.py
+++ b/cloudinit/settings.py
@@ -37,13 +37,16 @@ CFG_BUILTIN = {
],
'def_log_file': '/var/log/cloud-init.log',
'log_cfgs': [],
- 'syslog_fix_perms': ['syslog:adm', 'root:adm'],
+ 'mount_default_fields': [None, None, 'auto', 'defaults,nofail', '0', '2'],
+ 'ssh_deletekeys': False,
+ 'ssh_genkeytypes': [],
+ 'syslog_fix_perms': [],
'system_info': {
'paths': {
'cloud_dir': '/var/lib/cloud',
'templates_dir': '/etc/cloud/templates/',
},
- 'distro': 'ubuntu',
+ 'distro': 'fedora',
},
'vendor_data': {'enabled': True, 'prefix': []},
}
diff --git a/setup.py b/setup.py
index 0403607..d213e66 100755
--- a/setup.py
+++ b/setup.py
@@ -167,7 +167,6 @@ else:
(ETC + '/cloud/cloud.cfg.d', glob('config/cloud.cfg.d/*')),
(ETC + '/cloud/templates', glob('templates/*')),
(ETC + '/NetworkManager/dispatcher.d/', ['tools/hook-network-manager']),
- (ETC + '/dhcp/dhclient-exit-hooks.d/', ['tools/hook-dhclient']),
(USR_LIB_EXEC + '/cloud-init', ['tools/uncloud-init',
'tools/write-ssh-key-fingerprints']),
(USR + '/share/doc/cloud-init', [f for f in glob('doc/*') if is_f(f)]),
@@ -199,7 +198,6 @@ setuptools.setup(
scripts=['tools/cloud-init-per'],
license='Dual-licensed under GPLv3 or Apache 2.0',
data_files=data_files,
- install_requires=requirements,
cmdclass=cmdclass,
entry_points={
'console_scripts': [