-
Notifications
You must be signed in to change notification settings - Fork 26
/
centos-7-ppc64-openstack.json
59 lines (59 loc) · 1.81 KB
/
centos-7-ppc64-openstack.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
{
"builders": [
{
"boot_command": [
"c<wait5><wait10>",
"linux /ppc/ppc64/vmlinuz ro ",
"biosdevname=0 net.ifnames=0 ",
"ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7/ks-ppc64.cfg<enter>",
"initrd /ppc/ppc64/initrd.img<enter>",
"boot<enter><wait>"
],
"accelerator": "kvm",
"boot_wait": "6s",
"disk_size": 3072,
"disk_interface": "virtio-scsi",
"headless": true,
"vnc_bind_address":"0.0.0.0",
"http_directory": "http",
"iso_checksum": "dbc2d0609140f5d689dd16cdb64bfa181bf2c31f72ff41b9ab9dd5241dd74e0e",
"iso_checksum_type": "sha256",
"iso_url": "{{user `mirror`}}/7.9.2009/isos/ppc64/CentOS-7-ppc64-NetInstall-2009.iso",
"output_directory": "packer-centos-7-ppc64-openstack",
"shutdown_command": "echo 'centos'|sudo -S shutdown -P now",
"qemuargs": [
[ "-m", "2048M" ],
[ "-boot", "strict=on" ]
],
"qemu_binary": "/usr/libexec/qemu-kvm",
"machine_type": "pseries",
"ssh_password": "centos",
"ssh_port": 22,
"ssh_username": "centos",
"ssh_wait_timeout": "10000s",
"type": "qemu",
"vm_name": "packer-centos-7-ppc64-openstack"
}
],
"provisioners": [
{
"execute_command": "echo 'centos' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/centos/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/centos/osuosl-altarch.sh",
"scripts/centos/epel.sh",
"scripts/centos/openstack.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"mirror": "http://centos-altarch.osuosl.org",
"build": "20210810",
"image_name": "CentOS 7.9 BE"
}
}