This needs to be the old rhel6 way of doing things for the virt-install.
This commit is contained in:
parent
cb471507ea
commit
363ef7e22d
1 changed files with 2 additions and 3 deletions
|
@ -4,7 +4,7 @@ lvm_size: 100000
|
|||
mem_size: 4096
|
||||
num_cpus: 2
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.125.254
|
||||
gw: 10.5.126.254
|
||||
dns: 10.5.126.21
|
||||
|
||||
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
|
||||
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
|
||||
hostname={{ inventory_hostname }} nameserver={{ dns }}
|
||||
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none
|
||||
ip={{ eth1_ip }}:::{{ nm }}:{{ inventory_hostname }}-nfs:eth1:none"
|
||||
ip={{ eth0_ip }} netmask={{ nm }} gateway={{ gw }} dns={{ dns }}"
|
||||
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
|
||||
--autostart --noautoconsole
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue