Hi all,
I'm trying to create a CoreOS AMI using the official images as a base and am running into problems. We create AMIs containing a specific set of tools at the OS level for kernel driver testing and the base image is so locked down that I'm having difficulties.
Basically, I want to take 2191.5.0 CoreOS and add python3 + a set of pip'd modules. Because I want to poll the OS kernel, I think I cannot run my testing daemon in a container.
I'm using Hashicorp packer to attempt the following:
- take base AMI
- mount writeable disk as /usr/local with the stock AMI's /usr/local/ content
- install pyenv and setup my python 3.6.1 with its standard binary and python module dependencies
- generate a new AMI
I tried to do this manually initially and it sure seems like /etc/mnt.tab is off limits for modification. It seems to me that a key design goal of coreOS is its immutability.
Can someone let me know which docs might be the right ones to look at and if this entire approach seems an anathema given the overall design goals of coreOS?
Thanks
PEter