Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://atlas.hashicorp.com/spyderdyne/build-configurations/debirf-rescue_stable_3.2.0-4-amd64/
- template.json
- {
- "builders": [
- {
- "type": "virtualbox-iso",
- "guest_os_type": "Ubuntu_64",
- "iso_url":
- "http://debirf.cmrg.net/autobuilds/amd64/stable/rescue/debirf-rescue_stable_3.2.0-4-amd64.iso",
- "iso_checksum":
- "2b314975a9180576aad44492d8c6aab7eadbc696a28d36c13a2048a2ad4ed6b9",
- "iso_checksum_type": "sha256",
- "ssh_username": "packer",
- "ssh_password": "packer",
- "shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
- }
- ],
- "provisioners": [
- {
- "type": "shell",
- "inline": [
- "cat <<EOF > '/etc/network/interfaces'
- auto lo
- iface lo inet loopback
- auto eth0=dhcp
- iface dhcp inet dhcp
- EOF",
- "apt-get update",
- "apt-get install -y openssh-server",
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement