-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory-centos7.yml
54 lines (54 loc) · 1.85 KB
/
inventory-centos7.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
all:
hosts:
localhost:
vars:
git_user: "J Random"
git_email: "[email protected]"
user_ssh_dir: ~/.ssh
user_ssh_pub_id_filename: ~/.ssh/id_rsa.pub
libvirt_path: /home/libvirt
os: centos7.0
base_name: centos7
name: "{{ base_name }}"
url: http://mirror.centos.org/centos/7/os/x86_64/
disk_size: 60G
memory_size: 12288
ks_path: "{{ libvirt_path }}/ks"
image_path: "{{ libvirt_path }}/images"
disk_path: "{{ image_path }}/{{ name }}.raw"
extra_args: "ks=file:/centos7.ks console=tty0 console=ttyS0,115200n8 ip=::::centos7.example.com:eth1:dhcp::: nameserver=8.8.8.8"
devstack_password: p4ssw0rd
required_extra_openstack_pkgs:
- metalsmith
- ironic-python-agent
- ironic-python-agent-builder
required_extra_repos:
- { name: "hardware", repo: "https://github.com/redhat-cip/hardware.git" }
patched_openstack_pkgs:
- os-traits
patches_to_apply:
extra_path: ":/usr/sbin" # Note leading :
ironic_victim_nodes: 2
ironic_node_trait: HW_CPU_PPC64LE_POWER8
ironic_node_disk_size: 20
node_img: "/opt/stack/devstack/files/cirros-0.4.0-x86_64-disk.img"
ipa_output_dir: "/opt/ipa/"
start_devstack: true
ipa_agent_kernel: "/tmp/tinyipa.vmlinuz"
ipa_agent_ramdisk: "/tmp/tinyipa.gz"
ironic_bridge_name: virbr0
ironic_network_parms: "network=default"
ironic_nodes:
i_node_1:
disk: 10G
ram: 3072
bmc_ip: 192.168.77.3
i_node_2:
disk: 10G
ram: 3072
bmc_ip: 192.168.77.4
children:
hypervisors:
hosts:
localhost:
vms: