def get_curtin_userdata(node): """Return the curtin user-data. :param node: The node for which to generate the user-data. :return: The rendered user-data string. :rtype: unicode. """ installer_url = get_curtin_installer_url(node) config = get_curtin_config(node) return pack_install(configs=[config], args=[installer_url])
def get_curtin_userdata(node): """Return the curtin user-data. :param node: The node for which to generate the user-data. :return: The rendered user-data string. :rtype: unicode. """ # Pack the curtin and the configuration into a script to execute on the # deploying node. return pack_install(configs=get_curtin_yaml_config(node), args=[get_curtin_installer_url(node)])