Public bug reported: It might be good for the postinstall script for the EC2 plugin of vmbuilder to abort the build process if it encounters an error. Currently it simply ignores the error and the build continues on until the user is presented with an AMI id which may very well be unusable.
For example, I'm currently hitting a problem on one machine where the "wget" command is failing and instances from the resulting AMI don't boot properly. This might have been quicker to track down if the postinstall script failed. Adding this to the top of the postinstall script might be all that is needed: set -e It looks like the postinstall script return code is already being checked after that point. This enhancement request currently pertains to the following branch (only because it includes the postinstall script): 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) Status: New => In Progress -- vmbuilder EC2: Check postinstall script commands failure https://bugs.launchpad.net/bugs/292901 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs