Try sudo@sssd2 ?
This commit is contained in:
11
net/cloud-init/files/extra-cloudinit_distros_freebsd.py
Normal file
11
net/cloud-init/files/extra-cloudinit_distros_freebsd.py
Normal file
@ -0,0 +1,11 @@
|
||||
--- cloudinit/distros/freebsd.py.orig 2024-10-25 15:58:28 UTC
|
||||
+++ cloudinit/distros/freebsd.py
|
||||
@@ -35,7 +35,7 @@ class Distro(cloudinit.distros.bsd.BSD):
|
||||
pkg_cmd_update_prefix = ["pkg", "update"]
|
||||
pkg_cmd_upgrade_prefix = ["pkg", "upgrade"]
|
||||
prefer_fqdn = True # See rc.conf(5) in FreeBSD
|
||||
- home_dir = "/usr/home"
|
||||
+ home_dir = "/home"
|
||||
# FreeBSD has the following dhclient lease path:
|
||||
# /var/db/dhclient.leases.<iface_name>
|
||||
dhclient_lease_directory = "/var/db"
|
||||
20
net/cloud-init/files/patch-cloudinit_settings.py
Normal file
20
net/cloud-init/files/patch-cloudinit_settings.py
Normal file
@ -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},
|
||||
@ -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
|
||||
11
net/cloud-init/files/patch-setup.py
Normal file
11
net/cloud-init/files/patch-setup.py
Normal file
@ -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"]:
|
||||
Reference in New Issue
Block a user