[Bug 1197357] [NEW] lxc ubuntu-cloud template's -i option does not work

Robie Basak 1197357 at bugs.launchpad.net
Wed Jul 3 10:57:31 UTC 2013


Public bug reported:

If I run:

    sudo lxc-create -t ubuntu-cloud -n wip -- -r saucy -i foobar -s
daily

then the created container still uses a random instance id. grepping for
foobar /etc and /var/lib/cloud gives me nothing.

Expected result:

/var/lib/cloud/data/instance-id should be "foobar".

Cause:

http://bazaar.launchpad.net/~ubuntu-
branches/ubuntu/saucy/lxc/saucy/view/head:/templates/lxc-ubuntu-
cloud.in#L368

    host_id=${hostid:-$rhostid}

should be:

    host_id=${host_id:-$rhostid}

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: lxc 0.9.0-0ubuntu16
ProcVersionSignature: User Name 3.9.0-6.14-generic 3.9.6
Uname: Linux 3.9.0-6-generic x86_64
ApportVersion: 2.10.2-0ubuntu3
Architecture: amd64
Date: Wed Jul  3 10:52:43 2013
Ec2AMI: ami-0000039d
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
MarkForUpload: True
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-bug ec2-images saucy

-- 
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/1197357

Title:
  lxc ubuntu-cloud template's -i option does not work

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1197357/+subscriptions



More information about the Ubuntu-server-bugs mailing list