Last active
July 11, 2019 09:05
-
-
Save Tensho/b1e71f4e6387bc3a1a831d4846a0d5f5 to your computer and use it in GitHub Desktop.
Revisions
-
Tensho renamed this gist
Jul 11, 2019 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
Tensho created this gist
Jul 11, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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\" }}" } ] }