Public bug reported:

Description:    Ubuntu 10.04 LTS
Release:        10.04

python-vm-builder-ec2:
  Installed: 0.12.3-0ubuntu1
  Candidate: 0.12.3-0ubuntu1
  Version table:
 *** 0.12.3-0ubuntu1 0
        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ lucid/universe 
Packages
        100 /var/lib/dpkg/status

Hi,

I can't generate EC2 images with vmbuilder. I'm using a command like
this:

sudo vmbuilder xen ubuntu --suite=lucid --ec2 \
--ec2-cert=.ec2/cert-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem \
--ec2-key=.ec2/pk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.pem \
--ec2-access-key=WHATEVER \
--ec2-secret-key=WHATEVER \
--ec2-user=424242424242 --ec2-bucket=anyrandombucket --ec2-prefix=test \
--ec2-version='first' \
--firstboot=/usr/share/doc/python-vm-builder-ec2/examples/ec2-firstboot.sh \
--part=/usr/share/doc/python-vm-builder-ec2/examples/ec2-i386-part-file.txt \
--debug

Actually, I was following this howto:
https://wiki.ubuntu.com/EC2Vmbuilder

When I run vmbuilder with those flags, I just get this message:

Usage: vmbuilder hypervisor distro [options]

vmbuilder: error: no such option: --ec2

So, I can not build images for Amazon EC2.

I inspected /usr/share/pyshared/VMBuilder/plugins/ec2/__init__.py and I found
at the last line of that file this:

#register_plugin(EC2)

I uncommented that line and it didn't work.
Also I tried using register_hypervisor_plugin(EC2), but it didn't work.

If I'm missing something obvious here, just let me know.

In fact, what I'm trying to do is just build an EC2 image like the ones 
described in
http://uec-images.ubuntu.com/releases/lucid/release/

It would be nice to know how were generated the Ubuntu official images available
in Amazon EC2.

Regards,

--
Miguel Landaeta
miguel at miguel.cc

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
         Status: New

-- 
vmbuilder doesn't recognize --ec2 flag
https://bugs.launchpad.net/bugs/576501
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in ubuntu.

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