Skip to content

Instantly share code, notes, and snippets.

@t9toqwerty
Created December 28, 2019 22:08
Show Gist options
  • Save t9toqwerty/7902a5adc05d5f6bf04fa298f9117289 to your computer and use it in GitHub Desktop.
Save t9toqwerty/7902a5adc05d5f6bf04fa298f9117289 to your computer and use it in GitHub Desktop.
Packer Config For Centos7
{
"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