2f503c228e
This change makes it possible to deploy ACNG within a physical host NOT automatically tied to an MNAIO installation. This also adds an infra preseed file which can be used to provision physical hosts. By default the domain name is now passed into the server boot params which is useful when setting up an environment in support of RFC-1034/5. Ubuntu 16.04 has an issue with the options "quiet splash" being passed in which cause it to have no usable console. See [Related-Issue] for more. Related-Issue: #1656605 Change-Id: I731dfb70e4b5d676d8c22082da77c0d22d5afb58 Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
131 lines
5.1 KiB
YAML
131 lines
5.1 KiB
YAML
---
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
default_interface: "{{ default_network | default('eth0') }}"
|
|
default_vm_image: "{{ default_image | default('ubuntu-16.04-amd64') }}"
|
|
default_vm_storage: "{{ vm_disk_size | default(92160) }}"
|
|
default_acng_bind_address: 0.0.0.0
|
|
default_os_families:
|
|
ubuntu-16.04-amd64: debian
|
|
ubuntu-14.04-amd64: debian
|
|
|
|
default_ubuntu_kernel: linux-generic
|
|
default_ubuntu_mirror_proxy: 'http://10.0.2.1:3142/'
|
|
default_ubuntu_mirror_hostname: archive.ubuntu.com
|
|
default_ubuntu_mirror_directory: /ubuntu
|
|
|
|
# IP address, or domain name of the TFTP server
|
|
tftp_server: "{{ hostvars[groups['pxe_hosts'][0]]['ansible_host'] | default(ansible_host) }}"
|
|
# tftp_ssh_key: '' # user defined ssh key, used to access the host
|
|
tftp_port: 69
|
|
|
|
# Default ISO images
|
|
images:
|
|
ubuntu-16.04-amd64:
|
|
image_type: debian
|
|
image_iso_url: "http://releases.ubuntu.com/16.04.2/ubuntu-16.04.2-server-amd64.iso"
|
|
image_name: "ubuntu-16.04.2-server-amd64.iso"
|
|
image_short_name: "ubuntu-16.04.2-server-amd64"
|
|
image_default_boot: "ubuntu-16.04.2-server-amd64/amd64/boot-screens/menu.cfg"
|
|
image_kernel_options: "biosdevname=0 net.ifnames=0 auto=true priority=critical"
|
|
image_kernel: "ubuntu-16.04.2-server-amd64/amd64/linux"
|
|
image_initrd: "ubuntu-16.04.2-server-amd64/amd64/initrd.gz"
|
|
image_netboot: "ubuntu-16.04.2-server-amd64/install/netboot/ubuntu-installer"
|
|
image_preseeds:
|
|
mnaio:
|
|
url: "tftp://{{ tftp_server }}/preseed/mnaio.preseed"
|
|
template_name: "mnaio.preseed"
|
|
vm:
|
|
url: "tftp://{{ tftp_server }}/preseed/vm.preseed"
|
|
template_name: "vm.preseed"
|
|
vm-compute:
|
|
url: "tftp://{{ tftp_server }}/preseed/vm-compute.preseed"
|
|
template_name: "vm-compute.preseed"
|
|
compute:
|
|
url: "tftp://{{ tftp_server }}/preseed/compute.preseed"
|
|
template_name: "compute.preseed"
|
|
infra:
|
|
url: "tftp://{{ tftp_server }}/preseed/infra.preseed"
|
|
template_name: "infra.preseed"
|
|
ubuntu-14.04-amd64:
|
|
image_type: debian
|
|
image_iso_url: "http://releases.ubuntu.com/14.04.5/ubuntu-14.04.5-server-amd64.iso"
|
|
image_name: "ubuntu-14.04.5-server-amd64.iso"
|
|
image_short_name: "ubuntu-14.04.5-server-amd64"
|
|
image_default_boot: "ubuntu-14.04.5-server-amd64/amd64/boot-screens/menu.cfg"
|
|
image_kernel_options: "biosdevname=0 net.ifnames=0 auto=true priority=critical quiet splash"
|
|
image_kernel: "ubuntu-14.04.5-server-amd64/amd64/linux"
|
|
image_initrd: "ubuntu-14.04.5-server-amd64/amd64/initrd.gz"
|
|
image_netboot: "ubuntu-14.04.5-server-amd64/install/netboot/ubuntu-installer"
|
|
image_preseeds:
|
|
mnaio:
|
|
url: "tftp://{{ tftp_server }}/preseed/mnaio.preseed"
|
|
template_name: "mnaio.preseed"
|
|
vm:
|
|
url: "tftp://{{ tftp_server }}/preseed/vm.preseed"
|
|
template_name: "vm.preseed"
|
|
vm-compute:
|
|
url: "tftp://{{ tftp_server }}/preseed/vm-compute.preseed"
|
|
template_name: "vm-compute.preseed"
|
|
compute:
|
|
url: "tftp://{{ tftp_server }}/preseed/compute.preseed"
|
|
template_name: "compute.preseed"
|
|
infra:
|
|
url: "tftp://{{ tftp_server }}/preseed/infra.preseed"
|
|
template_name: "infra.preseed"
|
|
# mnaio_data_disk: 'sdc' # str - not required, set this to define a given data disk if no data disk
|
|
# is defined the largest unpartitioned disk will be used.
|
|
mnaio_host_networks:
|
|
dhcp:
|
|
iface: 'vm-br-dhcp' # str - required, interface name
|
|
inet_type: 'static' # str - required, iface type [static, dhcp, manual]
|
|
address: '10.0.2.1/22' # str - not required, must be in CIDR format
|
|
iface_port: none # str - required, physical port used within a host bridge
|
|
address_aliases: # list - not required, items must be sting and in CIDR format
|
|
- '10.0.2.2/22'
|
|
mgmt:
|
|
iface: 'vm-br-eth1'
|
|
inet_type: 'static'
|
|
address: '10.0.236.1/22'
|
|
iface_port: none
|
|
flat:
|
|
iface: 'vm-br-eth2'
|
|
inet_type: 'static'
|
|
address: '10.0.248.1/22'
|
|
iface_port: none
|
|
vlan:
|
|
iface: 'vm-br-eth3'
|
|
inet_type: 'manual'
|
|
iface_port: none
|
|
vxlan:
|
|
iface: 'vm-br-eth4'
|
|
inet_type: 'static'
|
|
address: '10.0.240.1/22'
|
|
iface_port: none
|
|
storage:
|
|
iface: 'vm-br-eth5'
|
|
inet_type: 'static'
|
|
address: '10.0.244.1/22'
|
|
iface_port: none
|
|
|
|
osa_enable_infra: true
|
|
osa_enable_identity: true
|
|
osa_enable_block_storage: true
|
|
osa_enable_image: true
|
|
osa_enable_compute: true
|
|
osa_enable_orchestration: true
|
|
osa_enable_dashboard: true
|
|
osa_enable_network: true
|
|
osa_enable_meter: true
|
|
osa_enable_object_storage: true
|