acme.set_hostname

This is a tutorial Model Component which is a partial implementation of the ACME Tutorials. Generally, this MC helps reset the hostname for each Ubuntu server.

Attribute Provides:
  • hostnames

Attribute Depends:
  • acme_topology

Model Component Dependencies:
VM Resources:
  • set_hostname.py

Plugin

class acme.set_hostname_plugin.Plugin(graph, log)[source]

Bases: AbstractPlugin

ACME plugin to set hostnames for all VMs

__annotations__ = {}
run()[source]

Find all Ubuntu servers and try to assign a new hostname to them using our custom VM resource.