diff options
author | Dermot Bradley <dermot_bradley@yahoo.com> | 2020-11-26 01:23:39 +0000 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-11-26 09:18:08 +0000 |
commit | 4749dce063928a4ffb8b41839b46f961d97dc12f (patch) | |
tree | 5f4701a6042c2f25a13234012f243aee99401ee3 /community/cloud-init/01-oauthlib-remove.patch | |
parent | 23de4dc47baa35c3af6cbc3dd1c39940e0025e57 (diff) |
community/cloud-init: correct template file, add notes, reduce dependencies
Correct template file for /etc/hosts to order short hostnames first.
Add extra usage notes to README file.
Remove py3-oauthlib and util-linux dependencies.
Diffstat (limited to 'community/cloud-init/01-oauthlib-remove.patch')
-rw-r--r-- | community/cloud-init/01-oauthlib-remove.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/community/cloud-init/01-oauthlib-remove.patch b/community/cloud-init/01-oauthlib-remove.patch new file mode 100644 index 00000000000..af65255bffc --- /dev/null +++ b/community/cloud-init/01-oauthlib-remove.patch @@ -0,0 +1,24 @@ +From: Dermot Bradley <dermot_bradley@yahoo.com> +Date: Thu, 19 Nov 2020 22:34 +0000 +Subject: [PATCH] cloud-init: Remove oauthlib from requirements.txt + +oauthlib is only used by the MAAS datasource. Remove it from the Python +requirements.txt file in order to reduce package dependencies. If someone +wishes to use the MAAS datasource they can simply add the py3-oauthlib +package. + +--- + +diff -aur a/requirements.txt b/requirements.txt +--- a/requirements.txt ++++ b/requirements.txt +@@ -5,7 +5,8 @@ + + # This one is currently only used by the MAAS datasource. If that + # datasource is removed, this is no longer needed +-oauthlib ++# ++# oauthlib + + # This one is currently used only by the CloudSigma and SmartOS datasources. + # If these datasources are removed, this is no longer needed. |