How to use the metalsmith.sources function in metalsmith

To help you get started, we’ve selected a few metalsmith examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github openstack / tripleo-common / tripleo_common / actions / baremetal_deploy.py View on Github external
def _get_source(instance):
    image = instance.get('image', {})
    return sources.detect(image=image.get('href'),
                          kernel=image.get('kernel'),
                          ramdisk=image.get('ramdisk'),
                          checksum=image.get('checksum'))

metalsmith

Deployment and Scheduling tool for Bare Metal

Apache-2.0
Latest version published 6 months ago

Package Health Score

52 / 100
Full package analysis