Created
December 28, 2019 22:08
-
-
Save t9toqwerty/7902a5adc05d5f6bf04fa298f9117289 to your computer and use it in GitHub Desktop.
Packer Config For Centos7
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 characters
{ | |
"builders": [ | |
{ | |
"type": "vagrant", | |
"provider": "virtualbox", | |
"source_path": "centos7.box", | |
"communicator": "ssh", | |
"pause_before_connecting": "2m" | |
} | |
], | |
"provisioners": [ | |
{ | |
"type": "file", | |
"source": "narescue.dev.conf", | |
"destination": "/tmp/narescue.dev.conf" | |
}, | |
{ | |
"type": "file", | |
"source": "elasticsearch.repo", | |
"destination": "/tmp/elasticsearch.repo" | |
}, | |
{ | |
"type": "shell", | |
"scripts": [ | |
"update.sh" | |
] | |
} | |
], | |
"post-processors": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment