Public bug reported: The following should result in valid local data source: sudo sh -c 'd=/var/lib/cloud/seed/nocloud; mkdir -p $d; printf "%s\n%s\n" "#!/bin/sh" "echo hi world" > $d/user-data; printf "%s\n%s\n" "instance-id: i-foo" "local-hostname: foo-hostname" > $d/meta-data;'
but currently in cloud-init that is broken (due to adding the network interfaces code). Also broken, but should work: sudo DEBUG_PROC_CMDLINE="BOOT_IMAGE=/boot/vmlinuz-3.2.0-17-virtual root=LABEL=cloudimg-rootfs ro console=ttyS0 ds=nocloud;h=foo;i=i-abc" cloud-init start-local ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: cloud-init 0.6.3~bzr527-0ubuntu1 ProcVersionSignature: User Name 3.2.0-17.27-virtual 3.2.6 Uname: Linux 3.2.0-17-virtual x86_64 ApportVersion: 1.93-0ubuntu2 Architecture: amd64 Date: Tue Feb 28 15:38:42 2012 Ec2AMI: ami-00000000 Ec2AMIManifest: FIXME Ec2AvailabilityZone: nova Ec2InstanceType: m1.small Ec2Kernel: unavailable 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 (Ubuntu) Importance: Undecided Status: New ** 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/942695 Title: cloud-init local data source broken To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/942695/+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