Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lisa Casino
slapos.package
Commits
97066526
Commit
97066526
authored
Oct 30, 2019
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packer: cleanup indentation
parent
f1e06894
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1205 additions
and
1205 deletions
+1205
-1205
packer/centos-6.7-testing-version.json
packer/centos-6.7-testing-version.json
+52
-52
packer/centos-6.7-vm-boostrap.json
packer/centos-6.7-vm-boostrap.json
+53
-53
packer/centos-6.7.json
packer/centos-6.7.json
+55
-55
packer/centos-7-testing-version.json
packer/centos-7-testing-version.json
+52
-52
packer/centos-7-vm-bootstrap.json
packer/centos-7-vm-bootstrap.json
+45
-45
packer/centos-7.json
packer/centos-7.json
+54
-54
packer/debian8-erp5-standalone.json
packer/debian8-erp5-standalone.json
+52
-52
packer/debian8-testing-version.json
packer/debian8-testing-version.json
+52
-52
packer/debian8-vm-boostrap.json
packer/debian8-vm-boostrap.json
+52
-52
packer/debian8-webrunner-standalone.json
packer/debian8-webrunner-standalone.json
+52
-52
packer/debian8-wendelin-standalone.json
packer/debian8-wendelin-standalone.json
+52
-52
packer/debian8.json
packer/debian8.json
+54
-54
packer/debian9-rs-base.json
packer/debian9-rs-base.json
+60
-60
packer/debian9.json
packer/debian9.json
+55
-55
packer/ubuntu-14.04-server-amd64-testing-version.json
packer/ubuntu-14.04-server-amd64-testing-version.json
+59
-59
packer/ubuntu-14.04-server-amd64-vm-bootstrap.json
packer/ubuntu-14.04-server-amd64-vm-bootstrap.json
+60
-60
packer/ubuntu-14.04-server-amd64.json
packer/ubuntu-14.04-server-amd64.json
+52
-52
packer/ubuntu-15.04-server-amd64-testing-version.json
packer/ubuntu-15.04-server-amd64-testing-version.json
+60
-60
packer/ubuntu-15.04-server-amd64-vm-bootstrap.json
packer/ubuntu-15.04-server-amd64-vm-bootstrap.json
+60
-60
packer/ubuntu-15.04-server-amd64.json
packer/ubuntu-15.04-server-amd64.json
+52
-52
packer/ubuntu-16.04-server-amd64.json
packer/ubuntu-16.04-server-amd64.json
+66
-66
packer/ubuntu-16.10-server-amd64.json
packer/ubuntu-16.10-server-amd64.json
+56
-56
No files found.
packer/centos-6.7-testing-version.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos67-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso"
,
"iso_checksum"
:
"9d3fec5897be6b3fed4d3dda80b8fa7bb62c616bbfd4bdcd27295ca9b764f498"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup-centos.sh"
]
}
]
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos67-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.7/isos/x86_64/CentOS-6.7-x86_64-minimal.iso"
,
"iso_checksum"
:
"9d3fec5897be6b3fed4d3dda80b8fa7bb62c616bbfd4bdcd27295ca9b764f498"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup-centos.sh"
]
}
]
}
packer/centos-6.7-vm-boostrap.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos68-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso"
,
"iso_checksum"
:
"0ca12fe5f28c2ceed4f4084b41ff8a0b"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos6-install-base.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos68-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso"
,
"iso_checksum"
:
"0ca12fe5f28c2ceed4f4084b41ff8a0b"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos6-install-base.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
packer/centos-6.7.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"centos-6-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso"
,
"iso_checksum"
:
"0ca12fe5f28c2ceed4f4084b41ff8a0b"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos6-install-base.sh"
,
"{{ user `custom_script` }}"
]
}
]
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"centos-6-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/6.8/isos/x86_64/CentOS-6.8-x86_64-minimal.iso"
,
"iso_checksum"
:
"0ca12fe5f28c2ceed4f4084b41ff8a0b"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos67-anaconda-ks.cfg"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos6-install-base.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/centos-7-testing-version.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos7-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos7-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup-centos.sh"
]
}
]
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos7-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos7-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup-centos.sh"
]
}
]
}
packer/centos-7-vm-bootstrap.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"centos7-vm-bootstrap"
,
"builders"
:
[
{
"name"
:
"centos7-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos72-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos72-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos7-install-base.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos7-install-base.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
packer/centos-7.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"centos7-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos7-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos7-install-base.sh"
,
"{{ user `custom_script` }}"
]
}
]
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"centos7-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"http://mirrors.kernel.org/centos/7/isos/x86_64/CentOS-7-x86_64-NetInstall-1708.iso"
,
"iso_checksum"
:
"fe3d960cce4d2c1c9f1b66817fe87cc0ee1a1c6c5dd126204cb5c33d51a45620"
,
"iso_checksum_type"
:
"sha256"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo poweroff"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc>"
,
"<wait>"
,
"linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/centos7-anaconda-ks.cfg biosdevname=0 net.ifnames=0"
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-centos.sh"
,
"scripts/packages-centos.sh"
,
"scripts/cleanup-centos.sh"
,
"scripts/centos7-install-base.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/debian8-erp5-standalone.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"debian8-erp5-standalone"
,
"builders"
:
[
{
"name"
:
"debian8-erp5-standalone"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-erp5-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-erp5-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
}
packer/debian8-testing-version.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"debian8-testing-version"
,
"builders"
:
[
{
"name"
:
"debian8-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/cleanup.sh"
]
}
]
}
packer/debian8-vm-boostrap.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"200000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"debian8-vm-bootstrap"
,
"builders"
:
[
{
"name"
:
"debian8-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/cleanup.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/cleanup.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
packer/debian8-webrunner-standalone.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"debian8-webrunner"
,
"builders"
:
[
{
"name"
:
"debian8-webrunner"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-webrunner-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-webrunner-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
}
packer/debian8-wendelin-standalone.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
,
"domain"
:
""
},
"builders"
:
[
{
"name"
:
"debian8-wendelin"
,
"builders"
:
[
{
"name"
:
"debian8-wendelin"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=us "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-wendelin-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/setup-wendelin-standalone.sh"
,
"scripts/cleanup.sh"
]
}
]
}
packer/debian8.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"debian8-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"debian8-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://cdimage.debian.org/mirror/cdimage/archive/8.11.1/amd64/iso-cd/debian-8.11.1-amd64-netinst.iso"
,
"iso_checksum"
:
"df0ce86d0b1d81e232ad08eef58754ed"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian8.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/debian9-rs-base.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"6"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
,
"re6st_token"
:
"{{env `RE6STTOKEN`}}"
,
"computer_token"
:
"{{env `COMPUTERTOKEN`}}"
"computer_name"
:
"{{env `COMPUTERNAME`}}"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"6"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
,
"re6st_token"
:
"{{env `RE6STTOKEN`}}"
,
"computer_token"
:
"{{env `COMPUTERTOKEN`}}"
,
"computer_name"
:
"{{env `COMPUTERNAME`}}"
},
"builders"
:
[
{
"name"
:
"debian9-rs-base-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"debian9-rs-base-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"raw"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"type"
:
"qemu"
,
"format"
:
"raw"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"https://cdimage.debian.org/mirror/cdimage/archive/9.9.0/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso"
,
"iso_checksum"
:
"e494e78d531352f0f3fdb210f13f7577"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"https://cdimage.debian.org/mirror/cdimage/archive/9.9.0/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso"
,
"iso_checksum"
:
"e494e78d531352f0f3fdb210f13f7577"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian9.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian9.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"environment_vars"
:
[
"re6st_token={{ user `re6st_token` }}"
,
"computer_name={{user `computer_name`}}"
,
"computer_token={{ user `computer_token` }}"
],
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian9.sh"
,
"scripts/cleanup.sh"
,
"scripts/setup-base-slapos.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"environment_vars"
:
[
"re6st_token={{ user `re6st_token` }}"
,
"computer_name={{user `computer_name`}}"
,
"computer_token={{ user `computer_token` }}"
],
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian9.sh"
,
"scripts/cleanup.sh"
,
"scripts/setup-base-slapos.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/debian9.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"debian9-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"debian9-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"iso_url"
:
"https://cdimage.debian.org/mirror/cdimage/archive/9.9.0/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso"
,
"iso_checksum"
:
"e494e78d531352f0f3fdb210f13f7577"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"https://cdimage.debian.org/mirror/cdimage/archive/9.9.0/amd64/iso-cd/debian-9.9.0-amd64-netinst.iso"
,
"iso_checksum"
:
"e494e78d531352f0f3fdb210f13f7577"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -h now"
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian9.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><wait><wait>"
,
"install auto "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian9.cfg "
,
"debian-installer=en_US locale=en_US keymap=fr "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"<enter>"
]
}
],
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian9.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian9.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/ubuntu-14.04-server-amd64-testing-version.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-14-04-server-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-14-04-server-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/network-ubuntu.sh"
]
}
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/network-ubuntu.sh"
]
}
]
}
packer/ubuntu-14.04-server-amd64-vm-bootstrap.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-14-04-server-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-14-04-server-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
packer/ubuntu-14.04-server-amd64.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"ubuntu-14-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"ubuntu-14-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://releases.ubuntu.com/14.04/ubuntu-14.04.4-server-amd64.iso"
,
"iso_checksum"
:
"2ac1f3e0de626e54d05065d6f549fa3a"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=fr "
,
"hostname={{ .Name }} "
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=fr "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=pc101 "
,
"keyboard-configuration/layoutcode=fr "
,
"keyboard-configuration/modelcode=pc101 "
,
"keyboard-configuration/layoutcode=fr "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"initrd=/install/initrd.gz -- <enter>"
]
}
],
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/ubuntu-15.04-server-amd64-testing-version.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-15-04-server-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-15-04-server-testing-version"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/network-ubuntu.sh"
]
}
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/setup-testing-version.sh"
,
"scripts/network-ubuntu.sh"
]
}
]
}
packer/ubuntu-15.04-server-amd64-vm-bootstrap.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-15-04-server-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"disk_size"
:
"100000"
},
"builders"
:
[
{
"name"
:
"ubuntu-15-04-server-vm-bootstrap"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=us "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=SKIP "
,
"keyboard-configuration/layout=USA "
,
"keyboard-configuration/variant=USA "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"scripts/vm-bootstrap.sh"
]
}
]
}
packer/ubuntu-15.04-server-amd64.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"ubuntu-15-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"ubuntu-15-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/15.04/ubuntu-15.04-server-amd64.iso"
,
"iso_checksum"
:
"487f4a81f22f8597503db3d51a1b502e"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=fr "
,
"hostname={{ .Name }} "
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"debian-installer=en_US auto locale=en_US kbd-chooser/method=fr "
,
"hostname={{ .Name }} "
,
"keyboard-configuration/modelcode=pc101 "
,
"keyboard-configuration/layoutcode=fr "
,
"keyboard-configuration/modelcode=pc101 "
,
"keyboard-configuration/layoutcode=fr "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"initrd=/install/initrd.gz -- <enter>"
"initrd=/install/initrd.gz -- <enter>"
]
}
],
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/network-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/ubuntu-16.04-server-amd64.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"ubuntu-16.04-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"ubuntu-16.04-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso"
,
"iso_checksum"
:
"2bce60d18248df9980612619ff0b34e6"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://releases.ubuntu.com/16.04/ubuntu-16.04.2-server-amd64.iso"
,
"iso_checksum"
:
"2bce60d18248df9980612619ff0b34e6"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo systemctl poweroff"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"sudo systemctl poweroff"
,
"boot_wait"
:
"3s"
,
"boot_command"
:
[
"<enter><wait>"
,
"<f6><esc>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs>"
,
"/install/vmlinuz "
,
"initrd=/install/initrd.gz "
,
"hostname={{ .Name }} "
,
"net.ifnames=0 "
,
"auto-install/enable=true "
,
"debconf/priority=critical "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu16.04.cfg "
,
"<enter>"
]
}
],
"boot_wait"
:
"3s"
,
"boot_command"
:
[
"<enter><wait>"
,
"<f6><esc>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>"
,
"<bs><bs><bs>"
,
"/install/vmlinuz "
,
"initrd=/install/initrd.gz "
,
"hostname={{ .Name }} "
,
"net.ifnames=0 "
,
"auto-install/enable=true "
,
"debconf/priority=critical "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu16.04.cfg "
,
"<enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/grub-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/grub-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
packer/ubuntu-16.10-server-amd64.json
View file @
97066526
{
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"variables"
:
{
"user"
:
"slapos"
,
"password"
:
"slapos"
,
"domain"
:
""
,
"disk_size"
:
"100"
,
"name"
:
"image"
,
"custom_script"
:
"scripts/empty.sh"
},
"builders"
:
[
{
"name"
:
"ubuntu-16-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"builders"
:
[
{
"name"
:
"ubuntu-16-server-{{ user `disk_size`}}G-{{ user `name`}}"
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"type"
:
"qemu"
,
"format"
:
"qcow2"
,
"accelerator"
:
"kvm"
,
"disk_size"
:
"{{ user `disk_size`}}000"
,
"headless"
:
true
,
"iso_url"
:
"http://releases.ubuntu.com/16.10/ubuntu-16.10-server-amd64.iso"
,
"iso_checksum"
:
"7d6de832aee348bacc894f0a2ab1170d"
,
"iso_checksum_type"
:
"md5"
,
"iso_url"
:
"http://releases.ubuntu.com/16.10/ubuntu-16.10-server-amd64.iso"
,
"iso_checksum"
:
"7d6de832aee348bacc894f0a2ab1170d"
,
"iso_checksum_type"
:
"md5"
,
"http_directory"
:
"http"
,
"http_directory"
:
"http"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"ssh_username"
:
"{{user `user`}}"
,
"ssh_password"
:
"{{user `password`}}"
,
"ssh_wait_timeout"
:
"1800s"
,
"shutdown_command"
:
"echo '{{user `password`}}'|sudo -S shutdown -P now"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz "
,
"initrd=/install/initrd.gz "
,
"hostname={{ .Name }} "
,
"net.ifnames=0 "
,
"auto-install/enable=true "
,
"debconf/priority=critical "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu16.04.cfg "
,
"-- <enter>"
]
}
],
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"<esc><esc><enter><wait>"
,
"/install/vmlinuz "
,
"initrd=/install/initrd.gz "
,
"hostname={{ .Name }} "
,
"net.ifnames=0 "
,
"auto-install/enable=true "
,
"debconf/priority=critical "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu16.04.cfg "
,
"-- <enter>"
]
}
],
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/grub-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
"provisioners"
:
[
{
"type"
:
"shell"
,
"execute_command"
:
"echo '{{user `password`}}' | {{.Vars}} sudo -E -S bash '{{.Path}}'"
,
"scripts"
:
[
"scripts/update-ubuntu.sh"
,
"scripts/packages-ubuntu.sh"
,
"scripts/grub-ubuntu.sh"
,
"{{ user `custom_script` }}"
]
}
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment