Public bug reported:

When I run vmbuilder --ec2 it never invokes the postinstall script.  I
don't see the "running ec2 postinstall script" output even with --debug
and the resulting AMI is unusable.

Based on reading the code I think this may be because in 
  VMBuilder/plugins/ec2/__init__.py
the line
  def postinstall(self):
should be changed to
  def post_install(self):
to match
  self.call_hooks('post_install')
in 
  VMBuilder/vm.py

This report pertains to the following branch:

  https://code.launchpad.net/~nijaba/vmbuilder/ec2exec

** Affects: vm-builder (Ubuntu)
     Importance: Undecided
     Assignee: Eric Hammond (esh)
         Status: In Progress

** Changed in: vm-builder (Ubuntu)
     Assignee: (unassigned) => Eric Hammond (esh)

** Changed in: vm-builder (Ubuntu)
       Status: New => In Progress

-- 
vmbuilder EC2: "sub postinstall" => "sub post_install"
https://bugs.launchpad.net/bugs/292888
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to