How to use the metalsmith.instance_config 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 __init__(self, instance, node, ssh_keys=None,
                 # For compatibility with deployment based on heat+nova
                 ssh_user_name='heat-admin',
                 default_network='ctlplane',
                 # 50 is the default for old flavors, subtracting 1G to account
                 # for partitioning and configdrive.
                 default_root_size=49):
        super(DeployNodeAction, self).__init__()
        self.instance = instance
        self.node = node
        self.config = instance_config.CloudInitConfig(ssh_keys=ssh_keys)
        self.config.add_user(ssh_user_name, admin=True, sudo=True)
        self.default_network = default_network
        self.default_root_size = default_root_size

metalsmith

Deployment and Scheduling tool for Bare Metal

Apache-2.0
Latest version published 2 months ago

Package Health Score

55 / 100
Full package analysis