diff --git a/group_vars/centos7.yml b/group_vars/centos7.yml deleted file mode 100644 index 24bd5b0..0000000 --- a/group_vars/centos7.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# default resources for new vm -dsk_size: 20 -mem_size: 1536 -num_cpus: 2 - -# extra args for virt-install -ks_file: "{{ boot_url }}/ks/centos7.ks" -ipcmd: >- - {% if network_interfaces[0]['proto'] is defined %} - {% if network_interfaces[0]['proto'] == 'static' %} - {% set int=network_interfaces[0] %} - {% if int['ipaddr'] is defined and int['gateway'] is defined %} - nameserver=8.8.8.8 - ip={{ int['ipaddr'] }}::{{ int['gateway'] }}:{{ int['netmask'] }}:::none - {% endif %} - {% endif %} - {% endif %} -virt_install_os_args: > - --extra-args "inst.ks={{ ks_file }} console=ttyS0 net.ifnames=0 ksdevice=eth0 {{ ipcmd }}" - --location https://nic.funet.fi/pub/mirrors/centos.org/7/os/x86_64