<commit_before>---
title: TripleO-CLI
authors: d0ugal, maufart
wiki_title: TripleO-CLI
wiki_revision_count: 39
wiki_last_updated: 2015-03-10
---

# Triple O-CLI

## Management System Installation

Instack is used to create the undercloud. This can be either done on a fully virtualised environment or with bare metal. Follow the steps described in [deploying an RDO Undercloud Deploying_an_RDO_Undercloud_with_Instack](deploying an RDO Undercloud Deploying_an_RDO_Undercloud_with_Instack) to create the undercloud for this installation.

## Infrastructure Setup

You will need to register your bare-metal hardware as nodes in Ironic. This can be done in one of two ways, the first uses the command line utility register-nodes to add them based on a JSON file.

Option 1: Use register-nodes from os-cloud-config to load the nodes JSON. The JSON file should match the following structure.

      {
       "nodes": [
         {
           "arch": "x86_64",
           "pm_user": "stack",
           "pm_addr": "192.168.122.1",
           "pm_password": "-----BEGIN RSA PRIVATE KEY-----$SNIP-----END RSA PRIVATE KEY-----",
           "pm_type": "pxe_ssh",
           "mac": [
             "00:0b:d0:69:7e:59"
           ],
           "cpu": "1",
           "memory": "4096",<commit_msg>Management System Installation<commit_after>---
title: TripleO-CLI
authors: d0ugal, maufart
wiki_title: TripleO-CLI
wiki_revision_count: 39
wiki_last_updated: 2015-03-10
---

# Triple O-CLI

## Management System Installation

Instack is used to create the undercloud. This can be either done on a fully virtualised environment or with bare metal. Follow the steps described in [deploying an RDO Undercloud:Deploying_an_RDO_Undercloud_with_Instack](deploying an RDO Undercloud:Deploying_an_RDO_Undercloud_with_Instack) to create the undercloud for this installation.

## Infrastructure Setup

You will need to register your bare-metal hardware as nodes in Ironic. This can be done in one of two ways, the first uses the command line utility register-nodes to add them based on a JSON file.

Option 1: Use register-nodes from os-cloud-config to load the nodes JSON. The JSON file should match the following structure.

      {
       "nodes": [
         {
           "arch": "x86_64",
           "pm_user": "stack",
           "pm_addr": "192.168.122.1",
           "pm_password": "-----BEGIN RSA PRIVATE KEY-----$SNIP-----END RSA PRIVATE KEY-----",
           "pm_type": "pxe_ssh",
           "mac": [
             "00:0b:d0:69:7e:59"
           ],
           "cpu": "1",
           "memory": "4096",
{'fraction_non_alphanumeric': 0.09996125532739249, 'fraction_numerical': 0.030995738086013174, 'mean_word_length': 2.8479880774962743, 'pattern_counts': {'":': 18, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5513290', 'n_tokens_mistral': 980, 'n_tokens_neox': 845, 'n_words': 279}