Skip to content

Commit 36ae367

Browse files
Merge remote-tracking branch 'origin/4.15' into main
Signed-off-by: Rohit Yadav <[email protected]>
2 parents 349120f + 1c29163 commit 36ae367

File tree

1 file changed

+50
-52
lines changed

1 file changed

+50
-52
lines changed
Lines changed: 50 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,8 @@
11
{
22
"_license": "Apache License 2.0",
3-
"description": "CloudStack SystemVM template",
4-
"provisioners": [
5-
{
6-
"type": "shell",
7-
"execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}",
8-
"scripts": [
9-
"scripts/apt_upgrade.sh"
10-
],
11-
"expect_disconnect": true
12-
},
13-
{
14-
"type": "shell",
15-
"execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}",
16-
"scripts": [
17-
"scripts/configure_grub.sh",
18-
"scripts/configure_locale.sh",
19-
"scripts/configure_networking.sh",
20-
"scripts/configure_acpid.sh",
21-
"scripts/install_systemvm_packages.sh",
22-
"scripts/configure_conntrack.sh",
23-
"scripts/authorized_keys.sh",
24-
"scripts/configure_persistent_config.sh",
25-
"scripts/configure_login.sh",
26-
"../cloud_scripts_shar_archive.sh",
27-
"scripts/configure_systemvm_services.sh",
28-
"scripts/cleanup.sh",
29-
"scripts/finalize.sh"
30-
]
31-
}
32-
],
333
"builders": [
344
{
35-
"type": "qemu",
365
"accelerator": "kvm",
37-
"headless": true,
38-
"qemuargs": [
39-
[ "-m", "500M" ],
40-
[ "-smp", "1" ]
41-
],
42-
"format": "qcow2",
43-
"disk_size": 3000,
44-
"disk_interface": "virtio",
45-
"net_device": "virtio-net",
46-
"iso_url": "https://cdimage.debian.org/debian-cd/10.9.0/amd64/iso-cd/debian-10.9.0-amd64-netinst.iso",
47-
"iso_checksum": "47d35187b4903e803209959434fb8b65ead3ad2a8f007eef1c3d3284f356ab9955aa7e15e24cb7af6a3859aa66837f5fa2e7441f936496ea447904f7dddfdc20",
48-
"iso_checksum_type": "sha512",
49-
"output_directory": "../dist",
50-
"http_directory": "http",
51-
"vm_name": "systemvmtemplate",
52-
"ssh_username": "cloud",
53-
"ssh_password": "cloud",
54-
"ssh_wait_timeout": "30m",
55-
"boot_wait": "5s",
566
"boot_command": [
577
"<esc><wait>",
588
"install <wait>",
@@ -71,8 +21,56 @@
7121
"console-keymaps-at/keymap=us <wait>",
7222
"<enter><wait>"
7323
],
74-
75-
"shutdown_command": "sudo halt -p"
24+
"boot_wait": "5s",
25+
"disk_interface": "virtio",
26+
"disk_size": "2500M",
27+
"format": "qcow2",
28+
"headless": true,
29+
"http_directory": "http",
30+
"iso_checksum": "sha512:87b4c9dd135718304a1b3e68423fe1b03ed52eb67f60563ad14a846aeaaecf53c064dae0f128b2633041992bbc8124b68b6767b529d80487754959b38558e637",
31+
"iso_url": "https://cdimage.debian.org/debian-cd/10.10.0/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso",
32+
"net_device": "virtio-net",
33+
"output_directory": "../dist",
34+
"qemuargs": [
35+
[
36+
"-m",
37+
"500M"
38+
],
39+
[
40+
"-smp",
41+
"1"
42+
]
43+
],
44+
"shutdown_command": "sudo halt -p",
45+
"ssh_password": "cloud",
46+
"ssh_timeout": "30m",
47+
"ssh_username": "cloud",
48+
"type": "qemu",
49+
"vm_name": "systemvmtemplate"
50+
}
51+
],
52+
"description": "CloudStack SystemVM template",
53+
"provisioners": [
54+
{
55+
"execute_command": "echo 'cloud' | sudo -u root -S bash {{.Path}}",
56+
"scripts": [
57+
"scripts/apt_upgrade.sh",
58+
"scripts/configure_grub.sh",
59+
"scripts/configure_locale.sh",
60+
"scripts/configure_networking.sh",
61+
"scripts/configure_acpid.sh",
62+
"scripts/install_systemvm_packages.sh",
63+
"scripts/configure_conntrack.sh",
64+
"scripts/authorized_keys.sh",
65+
"scripts/configure_persistent_config.sh",
66+
"scripts/configure_login.sh",
67+
"../cloud_scripts_shar_archive.sh",
68+
"scripts/configure_systemvm_services.sh",
69+
"scripts/cleanup.sh",
70+
"scripts/finalize.sh"
71+
],
72+
"type": "shell"
7673
}
7774
]
7875
}
76+

0 commit comments

Comments
 (0)