Netflix / aminator

A tool for creating EBS AMIs. This tool currently works for CentOS/RedHat Linux images and is intended to run on an EC2 instance.
Apache License 2.0
951 stars 170 forks source link

checking for presence of mountspec.mountpoint to prevent error #273

Open 7onetella opened 5 years ago

7onetella commented 5 years ago

I was executing aminate -B ami-0a313d6098716f372 --vm-type hvm --partition 1 -e ec2_apt_linux ./hello-world_1.0.0_all.deb

that execution failed due to missing attribute mountspec.mountpoint in certain phase of execution.

I am not a python developer. I did what I can to get aminator to work for me.

I tried this on a EC2 instance and updated the distro/linux.py and util/linux.py to get the aminator to complete the creation of my AMI.

Please, educate me if I am missing a aminator CLI parameter or if my parameters are wrong.

7onetella commented 5 years ago

ami-0a313d6098716f372 is a AWS AMI from "Quick Start" page.

Ubuntu Server 18.04 LTS (HVM), SSD Volume Type - ami-0a313d6098716f372 (64-bit x86)

hello-world_1.0.0.deb is an debian package with a script that spits out "Hello World"