summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-10-17More spec file tweaksJoshua Harlow
- Use _libexecdir for the helper binaries - Use _sharedstatedir instead of /var/lib - Ensure _libexecdir/${name} exists
2014-10-13Show the spec file contentJoshua Harlow
2014-10-13Fix the rpm building (currently broken)Joshua Harlow
2014-10-10update url in config drive documentationScott Moser
2014-10-08freebsd: enable correct behavior on Ec2.Scott Moser
Take care of FreeBSD nic devicenames since they differ depending on the platform involved. Xen/KVM use different drivers, which results in different device names.
2014-10-08new: The Ec2 datasource works for FreeBSD as well.Harm Weites
2014-10-08fix: Use continue to skip inside a loop.Harm Weites
2014-10-08fix: Take care of FreeBSD nic devicenames since they differ dependingHarm Weites
on the platform involved. Xen/KVM (Azure?) use different drivers, which results in different device names.
2014-10-02freebsd: Use the proper virtio FreeBSD network interface name.Scott Moser
2014-10-01cc_mounts: add ability to create swap fileScott Moser
User can now configure setting of a swap file. Only supports un-encrypted swap for now. swap: filename: /swap.img size: "auto" or size in bytes maxsize: size in bytes Also adds 2 util: read_meminfo: return how much memory on system. human2bytes: convert human numbers (8G) to bytes.
2014-10-01return only the filename, as it might be all knownScott Moser
2014-10-01message clean upScott Moser
2014-10-01remove debug printScott Moser
2014-10-01fixScott Moser
2014-10-01check for existing file in /proc/swaps to be safe.Scott Moser
2014-10-01pyflakesScott Moser
2014-10-01handle non-dictionary 'swap' inputScott Moser
2014-10-01nice log messageScott Moser
2014-10-01add debug statement for recommendedScott Moser
2014-10-01maxsize must be 'None' otherwise it is zero, and no swap allowedScott Moser
2014-09-30support human2bytes, separate handling out to methodScott Moser
2014-09-30add docScott Moser
2014-09-30add code for setting up swap fileScott Moser
2014-09-30FreeBSD: Support ConfigDriveScott Moser
Add support for freebsd reading config drive. Primary work is related to re-factoring mount_cb to not be so linux specific. Other changes: * declare PATH in freebsd initscripts * list dependency on e2fsprogs (for blkid) * enable ConfigDrive in freebsd config * hosts.freebsd.tmpl added
2014-09-29add ConfigDrive for freebsd config by defaultScott Moser
2014-09-29sysvinit/freebsd: set sane PATHScott Moser
2014-09-29tools/build-on-freebsd: e2fsprogs provides blkidScott Moser
2014-09-29tools/build-on-freebsd: add blkid and e2fsprogrsScott Moser
2014-09-29tools/build-on-freebsd: sort pkgs listScott Moser
2014-09-29further platform cleanupScott Moser
2014-09-29fix re-use of 'platform' in local scopeScott Moser
2014-09-27Fix link for config_drive docThomas Bechtold
The current link does no longer work.
2014-09-22support 'mtype' as a list, and fix up freebsd mount typesScott Moser
this supports a list of input, and cleans up that list for the platform specific mount types. Basically, mtype = None means 'mount -t auto' or the equivalent for the platform. and 'iso9660' means "iso type".
2014-09-22merge from trunkScott Moser
2014-09-17MetadataMaterializer support custom leaf decoderScott Moser
This allows the caller to supply their own leaf decoder, which will then be in charge of translating the content of the url.
2014-09-17cc_grub_dpkg consider /dev/xvda as a candidate for grub installationScott Moser
HVM instances on EC2 have grub on /dev/xvda. The bug here resulted in a prompt on grub update. LP: #1336855
2014-09-15resizefs: fix backgrounded resizingScott Moser
add kwargs to fork_cb, and utilize that to call log_time and pass through the provided args to resize_cmd. LP: #1338614
2014-09-15merge from trunkScott Moser
2014-09-15Remove pylint: linesJay Faulkner
2014-09-15Fix bug 1338614Jay Faulkner
util.log_time()'s return value was what was being sent to fork_cb. This means the resize ran in parallel and the call to fork_cb threw a traceback (trying to call Nonetype). By permitting fork_cb to take kwargs, and using the correct method syntax, this now forks and resizes in the background as appropriate.
2014-09-15cloud-init-blocknet: remove debug code going to /run/cloud-init-blocknetScott Moser
2014-09-12upstart/cloud-init-nonet.conf: only mention wait if larger than 5 secondsScott Moser
silently wait 5 seconds for networking to come up. We started seeing the message more now, as we are now blocking the networking from coming up until cloud-init-local is done. Previously that would have happened in parallel, and we were less likely to see that message.
2014-09-12upstart: add blocknet which blocks net until after cloud-init-localScott Moser
This makes it so networking wont start to come up until after cloud-init-local has had a chance to search local datasources and write /etc/network/interfaces. The changes most likely need to still be done for systemd. LP: #1368861
2014-09-12upstart/cloud-init-nonet.conf: do not exit on existance of obj.pklScott Moser
not sure why this was here. the intent must of have been to allow for a local datasource to continue booting and not annoyingly block waiting for network information (if ithere was no network information). However, that seems wrong. If the datasource wipes /etc/network/interfaces and there are no network interfaces then we're probably breaking that use case here. However we're fixing the other more common case.
2014-09-12netinfo: log error on failure of route infoScott Moser
2014-09-12OpenStack: fix consumption of vendor-data to allow namespacingScott Moser
Not all vendor data is destined for cloud-init. This sanely reads the vendor data as a dict, array or a string.
2014-09-12allow local disabling of blocknetScott Moser
2014-09-12upstart: add blocknet which blocks net until after cloud-init-localScott Moser
This makes it so networking wont start to come up until after cloud-init-local has had a chance to search local datasources and set /etc/network/interfaces. The changes most likely need to still be done for systemd. LP: #1368861
2014-09-11merge from trunkScott Moser
2014-09-11cloud-init-local depends on /run. reflect that in upstart job.Scott Moser
With the writing of cloud-init status, cloud-init-local needs to have /run mounted. The issue we were seeing was a race where: cloud-init-local creates /run/cloud-init /run is mounted cloud-init-local tries to link a file into /run/cloud-init that directory was no longer visisable as /run was mounted over the top. LP: #1353008