Skip to content

Conversation

@ljay79
Copy link

@ljay79 ljay79 commented Oct 14, 2015

  • Extend Packer's Rakefile to have it run on windows 10 powershell and linux
  • Add new CentOS 7 templates including provisioning and kickstarter file
  • create /iso folder to store pre-downloaded ISO images of linux distribution to save redundant downloads

@mikegreiling
Copy link
Member

Does OpsWorks run CentOS now or are you running it to approximate Amazon Linux?

@mikegreiling
Copy link
Member

Also, it is my understanding that packer automatically caches *.iso files within a /packer_cache directory, which is already included in the root .gitignore file. Has this been changed to /iso recently, or where is that coming from?

@ljay79
Copy link
Author

ljay79 commented Oct 15, 2015

It is to early to promise a fully tested code hack, but i can confirm it runs on CentOS 7 (under virtualbox on a windows10 host). The goal is/was to approximate it to Amazon Linux, in order to use all this kinda 1:1 for local dev environment and amazon linux production environments.
The AWS OpsWorks cookbooks are sadly not all 100% compatible out of the box with CentOS 7. I upgraded/hacked them as well and have pending PullRequests for such tunings in the AWS repository as well. The AWS OpsWorks Cookbooks support for a vm CentOS 7 guest depends on what cookbook/recipe is used.

The /iso folder might need a improvement yes. For me it was annoying to have the system redownload the ISO's all the time, so i downloaded it onces and made it available for Packer in that folder.
Packer (should) cache it as well yes, its more due the fact i re-installed/reset the entire projects while testing on and on with multiple machines.

@ljay79
Copy link
Author

ljay79 commented Oct 15, 2015

..so i guess the /iso (hack) might be a little redundant if i think about it now.

@IGx89 IGx89 mentioned this pull request Jun 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants