1b28b8f3c4
Change-Id: Ie8d8c092e64890af2f0886303ef3f16752ba5b76
157 lines
5.3 KiB
Django/Jinja
157 lines
5.3 KiB
Django/Jinja
{
|
|
"partitioning": {{ partitioning | to_pretty_json }},
|
|
"profile": "ubuntu_1404_x86_64",
|
|
"name_servers_search": "\"example.com\"",
|
|
"uid": "2",
|
|
"interfaces": {
|
|
"eth1": {
|
|
"static": "0",
|
|
"mac_address": "08:00:27:6e:6d:b4"
|
|
},
|
|
"eth0": {
|
|
"ip_address": "{{ ip }}",
|
|
"dns_name": "{{ name }}.test.domain.local",
|
|
"netmask": "255.255.255.0",
|
|
"static": "0",
|
|
"mac_address": "08:00:27:ea:35:e7"
|
|
}
|
|
},
|
|
"interfaces_extra": {
|
|
"eth1": {
|
|
"onboot": "no",
|
|
"peerdns": "no"
|
|
},
|
|
"eth0": {
|
|
"onboot": "no",
|
|
"peerdns": "no"
|
|
}
|
|
},
|
|
"power_type": "ssh",
|
|
"power_user": "root",
|
|
"kernel_options": {
|
|
"udevrules": "08:00:27:6e:6d:b4_eth1,08:00:27:ea:35:e7_eth0",
|
|
"netcfg/choose_interface": "08:00:27:ea:35:e7"
|
|
},
|
|
"power_address": "10.20.0.1",
|
|
"name_servers": "\"127.0.0.1\"",
|
|
"ks_meta": {
|
|
"gw": "10.20.0.1",
|
|
"mco_enable": 1,
|
|
"mco_vhost": "mcollective",
|
|
"repo_setup": {
|
|
"installer_kernel": {
|
|
"local": "/var/www/nailgun/ubuntu/x86_64/images/linux",
|
|
"remote_relative": "dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/linux"
|
|
},
|
|
"repos": {{ repos | to_pretty_json }},
|
|
"metadata": {
|
|
"always_editable": true,
|
|
"weight": 50,
|
|
"label": "Repositories"
|
|
},
|
|
"installer_initrd": {
|
|
"local": "/var/www/nailgun/ubuntu/x86_64/images/initrd.gz",
|
|
"remote_relative": "dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64/initrd.gz"
|
|
}
|
|
},
|
|
"authorized_keys": ["{{ master_key }}"],
|
|
"mlnx_iser_enabled": false,
|
|
"mco_pskey": "Gie6iega9ohngaenahthohngu8aebohxah9seidi",
|
|
"mco_user": "guest",
|
|
"puppet_enable": 0,
|
|
"fuel_version": "6.1",
|
|
"install_log_2_syslog": 1,
|
|
"image_data": {
|
|
"/boot": {
|
|
"container": "gzip",
|
|
"uri": "http://10.0.0.2:8001/tmp/targetimages/env_1_ubuntu_1404_amd64-boot.img.gz",
|
|
"format": "ext2"
|
|
},
|
|
"/": {
|
|
"container": "gzip",
|
|
"uri": "http://10.0.0.2:8001/tmp/targetimages/env_1_ubuntu_1404_amd64.img.gz",
|
|
"format": "ext4"
|
|
}
|
|
},
|
|
"timezone": "Etc/UTC",
|
|
"puppet_auto_setup": 1,
|
|
"puppet_master": "localhost",
|
|
"mco_auto_setup": 1,
|
|
"mco_password": "guest",
|
|
"auth_key": "\"\"",
|
|
"pm_data": {
|
|
"kernel_params": "console=ttyS0,9600 console=tty0 net.ifnames=0 biosdevname=0 rootdelay=90 nomodeset",
|
|
"ks_spaces": [
|
|
{
|
|
"name": "sda",
|
|
"extra": [],
|
|
"free_space": 304617,
|
|
"volumes": [
|
|
{
|
|
"type": "boot",
|
|
"size": 300
|
|
},
|
|
{
|
|
"mount": "/boot",
|
|
"type": "raid",
|
|
"file_system": "ext2",
|
|
"name": "Boot",
|
|
"size": 200
|
|
},
|
|
{
|
|
"type": "lvm_meta_pool",
|
|
"size": 0
|
|
},
|
|
{
|
|
"vg": "os",
|
|
"type": "pv",
|
|
"lvm_meta_size": 64,
|
|
"size": 20000,
|
|
"orig_size": 59456
|
|
}
|
|
],
|
|
"type": "disk",
|
|
"id": "sda",
|
|
"size": 42800,
|
|
"orig_size": 305245
|
|
},
|
|
{
|
|
"_allocate_size": "min",
|
|
"label": "Base System",
|
|
"min_size": 19936,
|
|
"orig_min_size": 59392,
|
|
"volumes": [
|
|
{
|
|
"mount": "/",
|
|
"size": 11744,
|
|
"type": "lv",
|
|
"name": "root",
|
|
"file_system": "ext4"
|
|
},
|
|
{
|
|
"mount": "swap",
|
|
"size": 8192,
|
|
"type": "lv",
|
|
"name": "swap",
|
|
"file_system": "swap"
|
|
}
|
|
],
|
|
"type": "vg",
|
|
"id": "os"
|
|
}
|
|
]
|
|
},
|
|
"mlnx_plugin_mode": "disabled",
|
|
"master_ip": "127.0.0.1",
|
|
"mco_connector": "rabbitmq",
|
|
"mlnx_vf_num": "16",
|
|
"admin_net": "10.20.0.0/24",
|
|
"mco_host": "localhost"
|
|
},
|
|
"name": "{{ name }}",
|
|
"hostname": "{{ name }}.example.com",
|
|
"slave_name": "{{ name }}",
|
|
"power_pass": "/root/.ssh/bootstrap.rsa",
|
|
"netboot_enabled": "1"
|
|
}
|