Just use the default virt-install, can add disk later.
This commit is contained in:
parent
d445a1df19
commit
d7df76a1f8
1 changed files with 2 additions and 11 deletions
|
@ -10,20 +10,11 @@ eth0_ip: 10.5.126.13
|
|||
vmhost: virthost18.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
tcp_ports: [80, 443, 514, 6514]
|
||||
udp_ports: [80, 443, 514]
|
||||
tcp_ports: [ 80, 443, 514, 6514 ]
|
||||
udp_ports: [ 514 ]
|
||||
nrpe_procs_warn: 900
|
||||
nrpe_procs_crit: 1000
|
||||
|
||||
lvm_size: 32768
|
||||
mem_size: 16384
|
||||
num_cpus: 16
|
||||
|
||||
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
|
||||
--disk {{ volgroup }}/{{ inventory_hostname }} --disk {{ volgroup }}/logs-store
|
||||
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
|
||||
"ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
|
||||
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
|
||||
hostname={{ inventory_hostname }}"
|
||||
--network=bridge=br0 --autostart --noautoconsole
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue