Use boot_url variable when referencing to boot.foo.sh
This commit is contained in:
parent
7d21e1bbf3
commit
fdb5cc437e
4 changed files with 4 additions and 4 deletions
|
@ -31,7 +31,7 @@ tls_private: /etc/pki/tls/private
|
||||||
tls_bundle: /etc/pki/tls/cert.pem
|
tls_bundle: /etc/pki/tls/cert.pem
|
||||||
|
|
||||||
# url where installer data is located
|
# url where installer data is located
|
||||||
boot_url: https://boot.foo.sh/ks
|
boot_url: https://boot.foo.sh
|
||||||
|
|
||||||
# hardcode this for now
|
# hardcode this for now
|
||||||
ansible_datacenter: home
|
ansible_datacenter: home
|
||||||
|
|
|
@ -5,7 +5,7 @@ mem_size: 1536
|
||||||
num_cpus: 1
|
num_cpus: 1
|
||||||
|
|
||||||
# extra args for virt-install
|
# extra args for virt-install
|
||||||
ks_file: "{{ boot_url }}/centos7.ks"
|
ks_file: "{{ boot_url }}/ks/centos7.ks"
|
||||||
ipcmd: >-
|
ipcmd: >-
|
||||||
{% if network_interfaces[0]['proto'] is defined %}
|
{% if network_interfaces[0]['proto'] is defined %}
|
||||||
{% if network_interfaces[0]['proto'] == 'static' %}
|
{% if network_interfaces[0]['proto'] == 'static' %}
|
||||||
|
|
|
@ -5,7 +5,7 @@ mem_size: 2048
|
||||||
num_cpus: 1
|
num_cpus: 1
|
||||||
|
|
||||||
# extra args for virt-install
|
# extra args for virt-install
|
||||||
ks_file: "{{ boot_url }}/centos8.ks"
|
ks_file: "{{ boot_url }}/ks/centos8.ks"
|
||||||
ipcmd: >-
|
ipcmd: >-
|
||||||
{% if network_interfaces[0]['proto'] is defined %}
|
{% if network_interfaces[0]['proto'] is defined %}
|
||||||
{% if network_interfaces[0]['proto'] == 'static' %}
|
{% if network_interfaces[0]['proto'] == 'static' %}
|
||||||
|
|
|
@ -16,5 +16,5 @@ mem_size: 256
|
||||||
num_cpus: 1
|
num_cpus: 1
|
||||||
|
|
||||||
# extra args for virt-install
|
# extra args for virt-install
|
||||||
virt_install_os_args: --cdrom https://boot.foo.sh/openbsd/openbsd.iso
|
virt_install_os_args: --cdrom {{ boot_url }}/openbsd/openbsd.iso
|
||||||
virt_install_python_cmd: pkg_add python3 -I -x
|
virt_install_python_cmd: pkg_add python3 -I -x
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue