mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
Revise README.Alpine documentation. Change default DataSource list to exclude CloudSigma and SmartOS. Remove ifupdown-ng, lsblkd, parted, sfdisk, and sgdisk from package dependencies.
30 lines
1.4 KiB
Diff
30 lines
1.4 KiB
Diff
From: Dermot Bradley <dermot_bradley@yahoo.com>
|
|
Date: Sat, 28 Jan 2023 14:24 +0000
|
|
Subject: [PATCH] cloud-init: Set default datasource list
|
|
|
|
When no DataSources list is specified then the automatically used default
|
|
list of (all) Data Sources includes "CloudSigma" and "SmartOS" which
|
|
require the py3-pyserial package to be installed (which is *not* listed
|
|
as a dependancy of the Alpine cloud-init package) and, if/when not
|
|
installed, then during boot cloud-init gives multiple errors when
|
|
checking those DataSources.
|
|
|
|
Add a replacement "default" list of DataSources to /etc/cloud.cfg that
|
|
includes all except CloudSigma and SmartOS, so avoiding errors when
|
|
someone has not tailored the DataSources list.
|
|
|
|
---
|
|
|
|
diff -aur a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
|
--- a/config/cloud.cfg.tmpl
|
|
+++ b/config/cloud.cfg.tmpl
|
|
@@ -59,6 +59,8 @@
|
|
# This should not be required, but leave it in place until the real cause of
|
|
# not finding -any- datasources is resolved.
|
|
datasource_list: ['NoCloud', 'ConfigDrive', 'Azure', 'OpenStack', 'Ec2']
|
|
+{% elif variant == "alpine" %}
|
|
+datasource_list: ['NoCloud', 'DigitalOcean', 'ConfigDrive', 'LXD', 'OpenNebula', 'Azure', 'AltCloud', 'OVF', 'MAAS', 'GCE', 'OpenStack', 'AliYun', 'Vultr', 'Ec2', 'CloudStack', 'Bigstep', 'Scaleway', 'Hetzner', 'IBMCloud', 'Oracle', Exoscale', 'RbxCloud', 'UpCloud', 'VMware', 'NWCS', 'None']
|
|
{% endif %}
|
|
# Example datasource config
|
|
# datasource:
|