8a12243517
This is never called externally to dib, so doesn't need to be an entrypoint. Call it from within dib using the running python executable and from the lib/ directory; this means we do not need to have the virtualenv activated to run disk-image-create. Change-Id: Ie9b551824792864402b0c63ccc350dc5c92dcc3f
8 lines
114 B
Python
8 lines
114 B
Python
import sys
|
|
|
|
from diskimage_builder.block_device.cmd import main
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|