summaryrefslogtreecommitdiff
path: root/sysvinit/freebsd
Commit message (Collapse)AuthorAgeFilesLines
* Standardize disabling cloud-init on non-systemd (#2112)Brett Holman2023-04-174-7/+31
| | | | | | | | | | | Some distros support disabling cloud-init using the kernel argument cloud-init=disabled. Standardize it across non-systemd distros. Skip NetBSD, which doesn't support passing external arguments to the kernel. Also add support for disabling cloud-init using /etc/cloud/cloud-init.disabled to non-systemd distros.
* FreeBSD init: use cloudinit_enable as only rcvar (#1875)Mina Galić2022-11-304-7/+7
| | | | | | | All components of cloudinit need to run, and in a specific order. If cloudinit is to be enabled, it should only rely on one variable. This change better encodes that, than #161 Sponsored by: FreeBSD Foundation
* add DragonFlyBSD support (#904)Gonéri Le Bouder2021-06-141-1/+1
| | | | | | | - Mostly based on FreeBSD, the main exception is that `find_devs_with_on_freebsd` does not work. - Since we cannot get the CDROM or the partition labels, `find_devs_with_on_dragonflybsd()` has a more naive approach and returns all the block devices.
* import sysvinit patches from freebsd-ports tree (#161)Igor Galić2020-02-074-1/+13
| | | | | bugzilla ref: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224361 svn rev: https://svnweb.freebsd.org/ports?view=revision&revision=457768
* freebsd: cloudinit service requires devd (#132)Gonéri Le Bouder2019-12-191-1/+1
| | | Depends on devd to be sure the NIC device drivers are loaded in time.
* cloudinitlocal fail to run during bootHongjiang Zhang2017-07-171-1/+1
| | | | | There is a circular dependence in cloudinitlocal, which caused it to fail. As a result, cloud-init failed to find data source on Azure.
* FreeBSD: improvements and fixes for use on AzureHongjiang Zhang2017-05-104-41/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This patch targets to make FreeBSD 10.3 or 11 work on Azure. The modifications abide by the rule of: * making as less modification as possible * delegate to the distro or datasource where possible. The main modifications are: 1. network configuration improvements, and movement into distro path. 2. Fix setting of password. Password setting through "pw" can only work through pipe. 3. Add 'root:wheel' to syslog_fix_perms field. 4. Support resizing default file system (ufs) 5. copy cloud.cfg for freebsd to /etc/cloud/cloud.cfg rather than /usr/local/etc/cloud/cloud.cfg. 6. Azure specific changes: a. When reading the azure endpoint, search in a different path and read a different option name (option-245 vs. unknown-245). so, the lease file path should be generated according to platform. b. adjust the handling of ephemeral mounts for ufs filesystem and for finding the ephemeral device. c. fix mounting of cdrom LP: #1636345
* sysvinit/freebsd: set sane PATHScott Moser2014-09-294-0/+4
|
* fix: Set the environment var CLOUD_CFG to specify the location ofHarm Weites2014-08-104-12/+12
| | | | | | | cloud.cfg since -f is not used for that. Given the importance of this file/location, it's explicitly beeing set in the initscripts instead of trusting on something in /etc/defaults.
* fix: Use -f to properly load the configfile.Harm Weites2014-08-094-4/+4
|
* change: C-i is installed in /usr/local/.Harm Weites2014-08-094-4/+4
|
* fix: Command (the binary) is cloud-init, not cloud_init.Harm Weites2014-08-092-2/+2
|
* change: Cloud-init config should go under /usr/local since /etc/ is reservedHarm Weites2014-08-094-4/+4
| | | | for base.
* fix: The correct path end with an s.Harm Weites2014-08-094-12/+12
|
* Fix defaultingJoshua Harlow2014-01-174-4/+4
|
* More white space fixJoshua Harlow2014-01-174-4/+0
|
* White space fixJoshua Harlow2014-01-171-1/+0
|
* Fix curly bracesJoshua Harlow2014-01-174-4/+8
|
* Add freebsd rc.d/sysvinit scriptsJoshua Harlow2014-01-174-0/+137