trying updated virt-install command, removing duplication

This commit is contained in:
Tim Flink 2015-01-31 00:33:13 +00:00
parent c5bc520135
commit 728a3aecda
2 changed files with 6 additions and 15 deletions

View file

@ -11,13 +11,13 @@ fas_client_groups: sysadmin-qa
# default virt install command is for a single nic-device # default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm) # define in another group file for more nics (see buildvm)
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }} virt_install_command: /usr/bin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }} --disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }} "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0 hostname={{ inventory_hostname }} nameserver={{ dns }}
hostname={{ inventory_hostname }}" ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
--network=bridge=br0 --autostart --noautoconsole --network=bridge=br0,model=virtio --autostart --noautoconsole
sshd_config: ssh/sshd_config.qadevel sshd_config: ssh/sshd_config.qadevel

View file

@ -10,18 +10,9 @@ vmhost: virthost-comm03.qa.fedoraproject.org
datacenter: phx2 datacenter: phx2
fas_client_groups: sysadmin-qa,sysadmin-main fas_client_groups: sysadmin-qa,sysadmin-main
# default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm)
virt_install_command: /bin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }}"
--network=bridge=br0 --autostart --noautoconsole
public_hostname: qadevel-stg.qa.fedoraproject.org public_hostname: qadevel-stg.qa.fedoraproject.org
buildmaster: 10.5.124.181 buildmaster: 10.5.124.230
buildslaves: buildslaves:
- qadevel-stg - qadevel-stg