forked from avtar/packer-fedora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfedora28.json
68 lines (68 loc) · 2.03 KB
/
fedora28.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
60
61
62
63
64
65
66
67
68
{
"builders": [
{
"iso_checksum": "8d59a25052e05758c15fe9daa3bc472b5619791b442e752450bba7f1eeca9c1a",
"iso_checksum_type": "sha256",
"iso_urls": "https://download.fedoraproject.org/pub/fedora/linux/releases/28/Server/x86_64/iso/Fedora-Server-dvd-x86_64-28-1.1.iso",
"boot_command": [
"<tab> linux text biosdevname=0 ks=http://{{ .HTTPIP }}:{{ .HTTPPort}}/fedora28-kickstart.cfg<enter><enter>"
],
"disk_size": "20480",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "Fedora_64",
"headless": "true",
"http_directory": ".",
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -h now",
"post_shutdown_delay": "120s",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"ssh_wait_timeout": "10000s",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"2"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-fedora28-v{{ isotime \"20060102150405\" }}"
}
],
"post-processors": [
{
"keep_input_artifact": false,
"output": "box/{{.Provider}}/vagrant-virtualbox-fedora28-v{{ isotime \"20060102150405\" }}.box",
"type": "vagrant",
"vagrantfile_template": "fedora28-vagrantfile.tpl"
}
],
"provisioners": [
{
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -E -S bash '{{.Path}}'",
"scripts": [
"scripts/sshd.sh",
"scripts/update.sh",
"scripts/vagrant.sh",
"scripts/docker.sh",
"scripts/vmtool.sh",
"scripts/hosts-workaround.sh",
"scripts/user-envs.sh",
"scripts/packages.sh",
"scripts/browser-config.sh",
"scripts/INFRA-150.sh",
"scripts/GPII-2075.sh",
"scripts/cleanup.sh"
],
"type": "shell",
"expect_disconnect": "true"
}
]
}