Skip to content

ptonelli/centos-ami-builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Description

Script to create centos 6 ec2 ami, mostly copied from here:

First create a centos 6 HVM machine on amazon, connect to it and upgrade the machine to have the latest packages (yum update -yes).

Create a 2Gb volume and attach it as /dev/sdb .

Copy the script to the machine and run it as root:

> sh builder.sh

After running the script, detach the volume, take a snapshot, register it as an image using the amazon web interface.

Todo

  • automatically install aws cli and use it to create volume, snapshot it and register the image automatically
  • add options for centos 7 and root/non-root login.

About

script to build a clean centos-6 image with growroot enabled.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages