This needs to be the old rhel6 way of doing things for the virt-install.

This commit is contained in:
Kevin Fenzi 2015-05-05 22:01:31 +00:00
parent cb471507ea
commit 363ef7e22d

View file

@ -4,7 +4,7 @@ lvm_size: 100000
mem_size: 4096 mem_size: 4096
num_cpus: 2 num_cpus: 2
nm: 255.255.255.0 nm: 255.255.255.0
gw: 10.5.125.254 gw: 10.5.126.254
dns: 10.5.126.21 dns: 10.5.126.21
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-6 ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-6
@ -15,8 +15,7 @@ virt_install_command: virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0 "ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }} hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none ip={{ eth0_ip }} netmask={{ nm }} gateway={{ gw }} dns={{ dns }}"
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none"
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio --network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
--autostart --noautoconsole --autostart --noautoconsole