MCPcopy Create free account
hub / github.com/Azure/dev-box-images / execute

Function execute

builder/packer.py:113–116  ·  view source on GitHub ↗

Executes the packer init and build commands on an image

(image)

Source from the content-addressed store, hash-verified

111
112
113def 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# ----------------

Callers

nothing calls this directly

Calls 2

initFunction · 0.85
buildFunction · 0.85

Tested by

no test coverage detected