summaryrefslogtreecommitdiff
path: root/sysvinit
AgeCommit message (Collapse)Author
2017-05-10FreeBSD: improvements and fixes for use on AzureHongjiang Zhang
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
2016-12-22LICENSE: Allow dual licensing GPL-3 or Apache 2.0Jon Grimm
This has been a recurring ask and we had initially just made the change to the cloud-init 2.0 codebase. As the current thinking is we'll just continue to enhance the current codebase, its desirable to relicense to match what we'd intended as part of the 2.0 plan here. - put a brief description of license in LICENSE file - put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0 - simplify the per-file header to reference LICENSE - tox: ignore H102 (Apache License Header check) Add license header to files that ship. Reformat headers, make sure everything has vi: at end of file. Non-shipping files do not need the copyright header, but at the moment tests/ have it.
2016-10-18update Gentoo initscripts to run in the correct orderMatthew Thode
cloud-init-local needs to be run before net (and in the boot runlevel) as it sets up networking config and adds it to the default runlevel. cloud-init-local needs to be run in the boot runlevel because it modifies services in the default runlevel. When a runlevel is started it is cached, so modifications that happen to the current runlevel while you are in it are not acted upon. cloud-init needs to run after net, it does not need net because we still want it to set up other things if it can.
2016-08-22Fix Gentoo net config generationMatthew Thode
This gets Gentoo work on simple configs with static IPs or DHCP on physical interfaces. This gets Gentoo bootable again.
2015-04-08Ensure cloud-local-init comes up before networkSurojit Pathak
This is to prevent network service use residual config, if available, viz. booting from snapshot image etc. Removing the dependency on remote_fs service.
2014-09-29sysvinit/freebsd: set sane PATHScott Moser
2014-08-10fix: Set the environment var CLOUD_CFG to specify the location ofHarm Weites
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.
2014-08-09fix: Use -f to properly load the configfile.Harm Weites
2014-08-09change: C-i is installed in /usr/local/.Harm Weites
2014-08-09fix: Command (the binary) is cloud-init, not cloud_init.Harm Weites
2014-08-09change: Cloud-init config should go under /usr/local since /etc/ is reservedHarm Weites
for base.
2014-08-09fix: The correct path end with an s.Harm Weites
2014-02-05Init script after consistencyNate House nathan.house@rackspace.com
2014-02-05Cleanup and cloud-init-local local/net mount dep fixNate House nathan.house@rackspace.com
2014-02-03Added is_excluded tests and updated gentoo init scriptNate House nathan.house@rackspace.com
2014-02-03Fix merge conflictNate House nathan.house@rackspace.com
2014-01-24Fixes gentoo sysvinit orderingNate House nathan.house@rackspace.com
2014-01-23Initial add Gentoo distroNate House nathan.house@rackspace.com
2014-01-17Fix defaultingJoshua Harlow
2014-01-17More white space fixJoshua Harlow
2014-01-17White space fixJoshua Harlow
2014-01-17Fix curly bracesJoshua Harlow
2014-01-17Add freebsd rc.d/sysvinit scriptsJoshua Harlow
2013-07-25pull in fixes for debian bug 712985Scott Moser
2013-07-19move redhat sysvinit scriptsJuerg Haefliger
2013-07-16Add SysV init scripts for DebianJuerg Haefliger
2013-02-21Modify init-scripts to be able to run both on RHEL and Debian.Vlastimil Holer
2012-10-04For the cloud-init rc.d ensure that theJoshua Harlow
cloud-init-local mode is attempted as a hard requirement (instead of the previous soft requirement) which in the rhel5.6 case makes it not run in the right order.
2012-07-10Tweaks to sysvinit so that cloud-init-local will run beforeJoshua Harlow
cloud-init, but there will not be a strong dependency between them if cloud-init-local is missing.
2012-07-09Adjust the sysvinit local script to provide 'cloud-init-local' and haveJoshua Harlow
the cloud-config script depend on that as well. This is a portion of revno 573 at lp:~harlowja/cloud-init/rework .
2012-07-06setup.py: rename "daemon type" to "init system"Scott Moser
This brings with it other changes, and also makes an install install all of the requisite init files. (ie, cloud-init needs the -local and the non-local)