-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathcentos-7-x86_64-ganeti.json
50 lines (50 loc) · 1.57 KB
/
centos-7-x86_64-ganeti.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
{
"builders": [
{
"boot_command": [
"<tab> text biosdevname=0 net.ifnames=0 ",
"ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/centos-7/ks-x86_64-ganeti.cfg<enter><wait>"
],
"accelerator": "kvm",
"boot_wait": "10s",
"disk_size": 4096,
"disk_interface": "virtio-scsi",
"headless": true,
"http_directory": "http",
"iso_checksum": "b79079ad71cc3c5ceb3561fff348a1b67ee37f71f4cddfec09480d4589c191d6",
"iso_checksum_type": "sha256",
"iso_url": "{{user `mirror`}}/7.9.2009/isos/x86_64/CentOS-7-x86_64-NetInstall-2009.iso",
"output_directory": "packer-centos-7-x86_64-ganeti",
"qemuargs": [ [ "-m", "1024M" ] ],
"qemu_binary": "qemu-kvm",
"shutdown_command": "echo 'osuadmin'|sudo -S /sbin/halt -h -p",
"ssh_password": "osuadmin",
"ssh_port": 22,
"ssh_username": "osuadmin",
"ssh_wait_timeout": "10000s",
"type": "qemu",
"vm_name": "packer-centos-7-x86_64-ganeti",
"vnc_bind_address": "0.0.0.0"
}
],
"provisioners": [
{
"execute_command": "echo 'osuadmin' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"scripts": [
"scripts/centos/osuosl.sh",
"scripts/centos/fix-slow-dns.sh",
"scripts/common/sshd.sh",
"scripts/common/vmtools.sh",
"scripts/common/ganeti.sh",
"scripts/centos/ganeti.sh",
"scripts/centos/cleanup.sh",
"scripts/common/minimize.sh"
],
"type": "shell"
}
],
"variables": {
"mirror": "http://centos.osuosl.org",
"image_name": "CentOS 7.9"
}
}