-
Notifications
You must be signed in to change notification settings - Fork 5
/
rhel7.json
37 lines (37 loc) · 1.17 KB
/
rhel7.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"provisioners": [{
"type": "ansible-local",
"playbook_file": "ansible/main-with-packer.yml",
"role_paths": [
"ansible/roles/base",
"ansible/roles/bridge",
"ansible/roles/kragle-packer"]
}],
"builders": [{
"name": "rhel7-ansible-qcow2",
"type": "qemu",
"iso_checksum_type": "sha256",
"iso_checksum": "3685468ec6cdcb70dfc85ebbc164da427dc2d762644c3c2ee1520f4f661c15ce",
"iso_url": "os/rhel-server-7.1-x86_64-dvd.iso",
"ssh_wait_timeout": "30s",
"shutdown_command": "shutdown -P now",
"disk_size": 10140,
"format": "qcow2",
"headless": false,
"accelerator": "kvm",
"http_directory": "kickstart-files",
"http_port_min": 10082,
"http_port_max": 10089,
"ssh_host_port_min": 2222,
"ssh_host_port_max": 2229,
"ssh_username": "root",
"ssh_password": "changeme",
"ssh_port": 22,
"ssh_wait_timeout": "90m",
"net_device": "virtio-net",
"disk_interface": "virtio",
"boot_command": [
"<tab> append initrd=initrd.img inst.text inst.ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/ks-isolinux-packer.cfg<enter><wait>"
]
}]
}