-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.build
63 lines (52 loc) · 1.2 KB
/
main.build
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
variable "disable_breakpoint" {
type = bool
default = true
}
variable "headless" {
type = bool
default = true
}
variable "shutdown_command" {
type = string
default = "shutdown -h now"
}
variable "ssh_password" {
type = string
default = "Vagrant1"
}
variable "ssh_username" {
type = string
default = "root"
}
source "virtualbox-vm" "kernel" {
attach_snapshot = "installed"
boot_wait = "-1s"
force_delete_snapshot = true
guest_additions_mode = "disable"
headless = var.headless
keep_registered = true
shutdown_command = var.shutdown_command
skip_export = true
ssh_password = var.ssh_password
ssh_timeout = "10000s"
ssh_username = var.ssh_username
target_snapshot = "kernelupdated"
vm_name = source.name
}
build {
name = "kernel"
source "virtualbox-vm.kernel" {
name = "tkl142"
}
source "virtualbox-vm.kernel" {
name = "tkl15"
}
source "virtualbox-vm.kernel" {
name = "tkl16"
}
source "virtualbox-vm.kernel" {
name = "tkl17"
}
source "virtualbox-vm.kernel" {
name = "tkl18"
}