diff options
author | Mina Galić <me+git@igalic.co> | 2022-09-14 22:16:04 +0100 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2022-10-14 16:28:46 -0300 |
commit | a46960b1350961e89ff03494d21f6616b7803e4f (patch) | |
tree | 1382fd1b6f3148e65732e87feb0e84747a2e47f4 /net/cloud-init-devel/files | |
parent | www/p5-Mojolicious: Update to 9.28 (diff) |
net/cloud-init-devel: [New port] Customize cloud instances
Cloud-init is the industry standard multi-distribution method for
cross-platform cloud instance initialization. It is supported across all
major public cloud providers, provisioning systems for private cloud
infrastructure, and bare-metal installations. This is the development
version, it follows the git HEAD.
WWW: https://cloud-init.io/
PR: 266847
Sponsored by: The FreeBSD Foundation
Co-authored-by: Joseph Mingrone <jrm@FreeBSD.org>
Diffstat (limited to 'net/cloud-init-devel/files')
-rw-r--r-- | net/cloud-init-devel/files/patch-cloudinit_settings.py | 20 | ||||
-rw-r--r-- | net/cloud-init-devel/files/patch-config_cloud.cfg.d_99__freebsd.cfg | 5 | ||||
-rw-r--r-- | net/cloud-init-devel/files/patch-setup.py | 11 |
3 files changed, 36 insertions, 0 deletions
diff --git a/net/cloud-init-devel/files/patch-cloudinit_settings.py b/net/cloud-init-devel/files/patch-cloudinit_settings.py new file mode 100644 index 000000000000..d7ca2bd87f2c --- /dev/null +++ b/net/cloud-init-devel/files/patch-cloudinit_settings.py @@ -0,0 +1,20 @@ +--- cloudinit/settings.py.orig 2021-03-17 15:43:42 UTC ++++ cloudinit/settings.py +@@ -12,7 +12,7 @@ + CFG_ENV_NAME = "CLOUD_CFG" + + # This is expected to be a yaml formatted file +-CLOUD_CONFIG = "/etc/cloud/cloud.cfg" ++CLOUD_CONFIG = "%%PREFIX%%/etc/cloud/cloud.cfg" + + RUN_CLOUD_CONFIG = "/run/cloud-init/cloud.cfg" + +@@ -50,7 +50,7 @@ CFG_BUILTIN = { + "system_info": { + "paths": { + "cloud_dir": "/var/lib/cloud", +- "templates_dir": "/etc/cloud/templates/", ++ "templates_dir": "%%PREFIX%%/etc/cloud/templates/", + }, + "distro": "ubuntu", + "network": {"renderers": None}, diff --git a/net/cloud-init-devel/files/patch-config_cloud.cfg.d_99__freebsd.cfg b/net/cloud-init-devel/files/patch-config_cloud.cfg.d_99__freebsd.cfg new file mode 100644 index 000000000000..54430cfbd422 --- /dev/null +++ b/net/cloud-init-devel/files/patch-config_cloud.cfg.d_99__freebsd.cfg @@ -0,0 +1,5 @@ +--- config/cloud.cfg.d/99_freebsd.cfg.orig 2021-12-13 06:41:51 UTC ++++ config/cloud.cfg.d/99_freebsd.cfg +@@ -0,0 +1,2 @@ ++no_ssh_fingerprints: true ++disable_network_activation: true diff --git a/net/cloud-init-devel/files/patch-setup.py b/net/cloud-init-devel/files/patch-setup.py new file mode 100644 index 000000000000..c94715dc97c6 --- /dev/null +++ b/net/cloud-init-devel/files/patch-setup.py @@ -0,0 +1,11 @@ +--- setup.py.orig 2021-03-17 15:40:30 UTC ++++ setup.py +@@ -153,7 +153,7 @@ INITSYS_TYPES = sorted([f.partition(".")[0] for f in I + # Install everything in the right location and take care of Linux (default) and + # FreeBSD systems. + USR = "usr" +-ETC = "etc" ++ETC = "%%PREFIX%%/etc" + USR_LIB_EXEC = "usr/lib" + LIB = "lib" + if os.uname()[0] in ["FreeBSD", "DragonFly"]: |