Executes the packer init and build commands on an image
(image)
| 111 | |
| 112 | |
| 113 | def execute(image): |
| 114 | '''Executes the packer init and build commands on an image''' |
| 115 | i = init(image) |
| 116 | return build(image) if i == 0 else i |
| 117 | |
| 118 | |
| 119 | # ---------------- |