Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erniebrodeur/arch32micro
Various shell scripts related to arch in an AWS instance.
https://github.com/erniebrodeur/arch32micro
Last synced: 24 days ago
JSON representation
Various shell scripts related to arch in an AWS instance.
- Host: GitHub
- URL: https://github.com/erniebrodeur/arch32micro
- Owner: erniebrodeur
- Created: 2011-04-14T21:48:50.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-01T04:54:14.000Z (over 13 years ago)
- Last Synced: 2024-04-30T17:04:47.566Z (8 months ago)
- Language: Shell
- Homepage: http://arch32micro.ujami.net
- Size: 606 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.markdown
Awesome Lists containing this project
README
arch32micro
===========
This repo is for any custom scripts needed to boot Arch properly inside Amazon EC2.**WARNING**
These scripts are NOT intended to be run anywhere EXCEPT INSIDE AN AMAZON INSTANCE. I lay this out clearly because I will not feel bad when you use this on a non-ec2 system.
I may be willing to help you fix it, but you shouldn't have done it.At this time, each script serves a specific, unique purpose.
ec2-inject-keys
-------------
The only thing this script does right now is grab the key that was made with the instance and inject
it into /root/.ssh/authorized_keys.TODO:
-----
* Support multiple keys (if Ec2 does).ec2-user-data:
--------------
I have not decided exactly how I want this script to work, but the idea is for it to inject the user data field.I am honestly unsure how this entire mechanisim works at this time.
ec2.rc
------
This is a script designed for /etc/rc.d to be called on each boot.
It should be renamed in PKGBUILD.* It will check for the presence of a firstrun file, so that only events happen once per instance.
* It will respond to userdata to push the userdata script (whatever that is)
* It will respond to start for tasks to be called each time (if needed).
* It will respond to clean, which will purge any key's injected (safely, if you customize it will not).ami-builder
-----------
This script requires root to be run due to various mount requirements. It currently works but the image is untested.It makes two images:
root.img: 1.9g /
boot.img: 100m /bootami-push
--------
Likewise, this should push the resulting script.PKGBUILD
--------
How/where ever the files finally live, a PKGBUILD is only suiting since this is an ArchLinux designed system.Feel free to use the wiki or the issue system built into github, or send me a message.