a5cc06517e
Allow the role to accept all possible arguments to disk-image-builder. Also, modify the dib role to allow ramdisk builds using ramdisk-image-builder, i.e. for the ironic inspector. Implements: blueprint bifrost-inspector-support Change-Id: I2dc12e5033100ad5e8d7893c47b3bb00a57ab0a5
46 lines
2.2 KiB
Plaintext
46 lines
2.2 KiB
Plaintext
---
|
|
ironic_url: "http://localhost:6385/"
|
|
network_interface: "virbr0"
|
|
# ironic_db_password ironic user password for rabbit
|
|
ironic_db_password: aSecretPassword473z
|
|
# mysql_password: mysql root user password
|
|
mysql_password:
|
|
# If testing is true, then the environment is setup for using libvirt
|
|
# virtual machines for the hardware instead of real hardware.
|
|
# testing: true
|
|
#
|
|
# Normally this user should be ubuntu, however if cirros is used,
|
|
# a user may wish to define a specific user for testing VM
|
|
# connectivity during atest sequence
|
|
testing_user: ubuntu
|
|
http_boot_folder: /httpboot
|
|
nginx_port: 8080
|
|
ssh_public_key_path: "{{ ansible_env.HOME }}/.ssh/id_rsa.pub"
|
|
deploy_kernel: "{{http_boot_folder}}/coreos_production_pxe.vmlinuz"
|
|
deploy_ramdisk: "{{http_boot_folder}}/coreos_production_pxe_image-oem.cpio.gz"
|
|
deploy_kernel_url: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:{{nginx_port}}/coreos_production_pxe.vmlinuz"
|
|
deploy_ramdisk_url: "http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:{{nginx_port}}/coreos_production_pxe_image-oem.cpio.gz"
|
|
# When using disk image builder based image generation, which is the
|
|
# default at this time, the deploy_image_filename must end with .qcow2
|
|
# due to the image creation process.
|
|
deploy_image_filename: "deployment_image.qcow2"
|
|
deploy_image: "{{http_boot_folder}}/{{deploy_image_filename}}"
|
|
# Setting to utilize diskimage-builder to create a bootable image.
|
|
create_image_via_dib: true
|
|
# Add any extra elements you wish to have in the disk image
|
|
extra_dib_elements: ""
|
|
# Transform boot image is intended for use with the Ubuntu trusty image. It makes the image bootable by installing Grub.
|
|
# Setting to prepend a partition image with a boot sector and partition table.
|
|
transform_boot_image: false
|
|
node_default_network_interface: eth0
|
|
# ipv4_subnet_mask is intended for the static ipv4 address assignments.
|
|
ipv4_subnet_mask: 255.255.255.0
|
|
ipv4_gateway: 192.168.1.1
|
|
ipv4_nameserver: 8.8.8.8
|
|
network_mtu: 1500
|
|
dhcp_pool_start: 192.168.1.200
|
|
dhcp_pool_end: 192.168.1.250
|
|
# ipmi_bridging: Default undefined. Valid values: "no", "single", and "dual"
|
|
# See http://docs.openstack.org/developer/ironic/_modules/ironic/drivers/modules/ipmitool.html
|
|
#ipmi_bridging: no
|