Skip to content

Instantly share code, notes, and snippets.

@Tensho
Last active July 11, 2019 09:05
Show Gist options
  • Select an option

  • Save Tensho/b1e71f4e6387bc3a1a831d4846a0d5f5 to your computer and use it in GitHub Desktop.

Select an option

Save Tensho/b1e71f4e6387bc3a1a831d4846a0d5f5 to your computer and use it in GitHub Desktop.

Revisions

  1. Tensho renamed this gist Jul 11, 2019. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. Tensho created this gist Jul 11, 2019.
    24 changes: 24 additions & 0 deletions woody_packer.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,24 @@
    # https: //www.packer.io/docs/templates/engine.html
    {
    "description": "Stand",
    "min_packer_version": "1.4.1",
    "variables": {
    "version": "v0.0.1"
    },
    "builders": [
    {
    "type": "null",
    "communicator": "none"
    }
    ],
    "provisioners": [
    {
    "type": "shell-local",
    "command": "echo {{ user `version` }} | sed \"s/^.//\""
    },
    {
    "type": "shell-local",
    "command": "echo {{ sed \"s/^.//\" \"v0.0.1\" }}"
    }
    ]
    }