Public bug reported:

$ sudo lxc-destroy -n  maas
$ cat my-userdata
#!/bin/sh
ifconfig eth0 > /ifconfig-eth0

$ sudo lxc-create -t ubuntu-cloud -n maas -- \
   --release=precise --arch=amd64 --auth-key=$HOME/.ssh/id_rsa.pub   \
   --userdata my-userdata

$ sudo cat /var/lib/lxc/maas/rootfs/var/lib/cloud/seed/nocloud-net/user-data 
#cloud-config
output: {all: '| tee -a /var/log/cloud-init-output.log'}
apt-mirror: http://archive.ubuntu.com/ubuntu
manage_etc_hosts: localhost
locale: en_US.UTF-8

Basically, --userdata was ignored entirely.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu62
ProcVersionSignature: User Name 3.2.0-29.46-virtual 3.2.24
Uname: Linux 3.2.0-29-virtual x86_64
ApportVersion: 2.0.1-0ubuntu12
Architecture: amd64
Date: Thu Aug 30 00:31:00 2012
Ec2AMI: ami-0000013e
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
 TERM=screen
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: lxc (Ubuntu)
     Importance: Medium
         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 lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1043582

Title:
  lxc-create -t ubuntu-cloud --userdata ignores userdata

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1043582/+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

Reply via email to