Public bug reported: Many, many times, people have asked the easiest way to get a file into place, and at the moment that is something like: cat <<EOF > file file content EOF
or something to that effect. It'd be much nicer if cloud-config had an easy way to do that. files: - path: /etc/my.conf owner: root:root permissions: 0600 content: | content here - path: /bin/foo owner: root:root permissions: 0755 compression: gzip content-b64 gzip-compressed-base64-encoded-content-here ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: cloud-init 0.6.3-0ubuntu1 ProcVersionSignature: User Name 3.2.0-24.39-virtual 3.2.16 Uname: Linux 3.2.0-24-virtual x86_64 ApportVersion: 2.0.1-0ubuntu8 Architecture: amd64 Date: Wed Jun 13 20:39:23 2012 Ec2AMI: ami-c250f0ab Ec2AMIManifest: ubuntu-us-east-1/images-testing/ubuntu-precise-daily-amd64-server-20120609.manifest.xml Ec2AvailabilityZone: us-east-1c Ec2InstanceType: m1.medium Ec2Kernel: aki-825ea7eb Ec2Ramdisk: unavailable PackageArchitecture: all ProcEnviron: TERM=screen PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: cloud-init UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: cloud-init Importance: Low Status: Triaged ** Affects: cloud-init (Ubuntu) Importance: Low Status: Triaged ** Tags: amd64 apport-bug ec2-images precise -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1012854 Title: cloud-config should support simple file writing To manage notifications about this bug go to: https://bugs.launchpad.net/cloud-init/+bug/1012854/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs