summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-08-23change: Rename the config file to cloud.cfg-freebsd so it doesn'tHarm Weites
get copied per default. Packaging will take care of installing this configfile on the BSD platform.
2014-08-23fix: Syntax.Harm Weites
2014-08-23fix: Use the correct variable.Harm Weites
2014-08-23merge: Pull in the fixes from Scott.Harm Weites
2014-08-23merge: Trunk.Harm Weites
2014-08-22build-on-freebsd: minor cleanups/bikesheddingScott Moser
2014-08-22setup.py: remove read_datafiles, use globals for ETC and USRScott Moser
2014-08-22merge from trunkScott Moser
2014-08-22ec2_utils.py: get_instance_metadata explicitly add trailing /Scott Moser
This change works around a bug in CloudStack's EC2 api implementation. That is filed upstream at [1]. The fix is safe for openstack and EC2 use cases as well. EC2 and OpenStacks' EC2 metadata service both return a list with access to either of: <url_base>/latest/meta-data <url_base>/latest/meta-data/ Additionally, the responses explicitly contain a trailing '/' for items that have a child. The ec2_utils code then just re-uses the trailng / there. Thus, only the top level request for 'meta-data/' needs the explicit fix. This also changes test cases. Those test cases failed without fixing them. If ever this regressed, those would fail again. -- [1] https://issues.apache.org/jira/browse/CLOUDSTACK-7405 LP: #1356855
2014-08-22docs: fix disk-setup to reference 'table_type'Scott Moser
LP: #1313114
2014-08-21fix rendering resolv.conf if no 'options' are providedScott Moser
this makes some changes to the cc_resolv_conf to make its generate_resolv_conf method more easily callable (for future test). Also sets it up so that 'options' is always defined when the template is rendered. LP: #1328953
2014-08-21settings: fix typo resulting in OpenStack and GCE not running.Scott Moser
LP: #1329583
2014-08-21systemd: make cloud-init block ssh service startup to guarantee keys existScott Moser
LP: #1333920
2014-08-21use url_helper to combine urlScott Moser
This seems cleaner, to avoid duplicate '/' being added.
2014-08-16fix: Don't create a directory that will never be used anyway.Harm Weites
2014-08-14fix: Install the python package that will install the required link toHarm Weites
the python2.7 binary. This defaults to 2.7, which is fine.
2014-08-13remove un-used 'end' in result.json and status.jsonScott Moser
2014-08-13change: Run the ssh module.Harm Weites
2014-08-10change: Cancel execution of several modules that are definately notHarm Weites
tested or supported yet.
2014-08-10change: Install everything in the right location on both Linux (whichHarm Weites
ofcourse already was good) and FreeBSD (which realy likes /usr/local for this).
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-10change: Save and restore the SSH keys between builds.Harm Weites
2014-08-09change: Make note of another python lib pypi takes care of.Harm Weites
2014-08-09change: Create a symlink to python2.7, to make sure running plain pythonHarm Weites
works.
2014-08-09fix: Pass -y to growfs to keep it from asking for confirmation.Harm Weites
2014-08-09new: Some datasources (like Smartos) use dmidecode to gather some specificHarm Weites
information, so install it.
2014-08-09fix: More dependencies.Harm Weites
2014-08-09change: Add an important comment.Harm Weites
2014-08-09new: Buildscript for installing on FreeBSD. This should do until aHarm Weites
proper port is created.
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: To install the new freebsd sysvinit scripts, accept a newHarm Weites
sysvinit_freebsd argument. Specifying sysvinit will install the RH scripts, which is wrong.
2014-08-09fix: The correct path end with an s.Harm Weites
2014-08-08new: Config for FreeBSD.Harm Weites
This doesn't differ much from the regular (linux) config, but currently it helps while testing and setting up fbsd cloud instances.
2014-08-08fix: Skip lines from /etc/rc.conf not matching the pattern key=value.Harm Weites
2014-08-08merge: These are the changes from the freebsd-static-networking branch.Harm Weites
2014-07-31ubuntu-init-switch: support disabling of reboot, minor tweeks.Scott Moser
- modify timeout for ~60 seconds before going on. - allow specifying 'reboot' on 'cloud-init single' or in config. - use stdin for subprocess so log is less noisy. - reboot --force: this is required this early in boot for upstart and to my experience at this point always required for systemd
2014-07-31ubuntu-init-switch: fix for determining if systemdScott Moser
/run/systemd/ seems to exist even if systemd is not the init system. but /run/systemd/system/ only exists if it has been used as init.
2014-07-31add ubuntu-init-switch module for testing systemd.Scott Moser
The module is useful primarily for testing in Ubuntu's transition to systemd. It should be very harmless elsewhere as it defaults to doing nothing, and will only run if configured as 'ubuntu' distro *and* 'dpkg' is available.
2014-07-31exit and warn if no 'dpkg' (probably wrong distro)Scott Moser
2014-07-31add some doc to moduleScott Moser
2014-07-31fix path to systemdScott Moser
2014-07-31fix for config, allow specifying target for cloud-init --singleScott Moser
2014-07-31initial commit oif iniit_switchScott Moser
2014-07-29cc_power_state_change: improve TypeError messagesScott Moser
Include the value that was found to be invalid in the error message.
2014-07-29do not put comments in /etc/timezoneScott Moser
comments in /etc/timezone are not expected, and can cause problems if another tool tries to read it. LP: #1341710
2014-07-24SeLinuxGuard: remove invalid check for sanity around restorecon, fix testScott Moser
previous commit occurred because the selinux test was failing in a schroot where there was no /etc/hosts. Now, fix that test more correctly, and fix some bad assumptions in the SeLinuxGuard.
2014-07-24test: make selinux test skipped if selinux not available.Scott Moser
Also, in debian packaging depend on it (so it wont skip there).