Source

gentoo_bootstrap /

Filename Size Date modified Message
i386
x86_64
13 B
3.4 KB
9.9 KB
9.9 KB
5.4 KB
2.4 KB
8.8 KB
8.8 KB
Gentoo Bootstrap

--------------------------------------------------------------------------------

setup_build_gentoo.sh

Sets up common needs for 32 and 64 bootstrap scripts and will print out the 
commands to execute them:

can pass 4 options, in order:
region
security group
key pair
private key of key pair

if you do not set these:
region defaults to "us-east-1"
security group defaults to "gentoo-bootstrap" and it will be created if needed
key pair defaults to "gentoo-bootstrap_$region" e.g. gentoo-bootstrap_us-east-1
key file defaults to "gentoo-bootstrap_$region.pem"
The key pair will be created if needed.

--------------------------------------------------------------------------------

build_gentoo_64.sh

Builds 64 bit Gentoo image. Will use a c1.medium for bootstrap instance.
Will use a t1.micro as test instance.
Because sudo will be called, this script cannot be run in the backgroud.
Recommend running screen before running.

Takes 4 options:
region 
security group
key pair
keyfile

--------------------------------------------------------------------------------

build_gentoo_32.sh

Builds 32 bit Gentoo image. Will use a c1.medium for bootstrap instance.
Will use a t1.micro as test instance.
Because sudo will be called, this script cannot be run in the backgroud.
Recommend running screen before running.

Takes 4 options:
region 
security group
key pair
keyfile

--------------------------------------------------------------------------------

x86_64/remote_gentoo.sh & i386/remote_gentoo.sh

The script to be copied to and executed on bootstrap instance.

--------------------------------------------------------------------------------

x86_64/.config & i386/.config

The .config file for building the kernel.

--------------------------------------------------------------------------------
================================================================================
Updates
================================================================================

Gentoo updates should normally be done manually in case an incorrectly done
upgrade may render the system unusable. The purpose of these scripts is to do
the same update across regions quickly.

The plan is to manually do the update in one region and record the actions
in ${architecture}/update_gentoo.sh. Once done these scripts can be used to
replay it in the other regions.

--------------------------------------------------------------------------------

update_gentoo_64.sh

Updates the latest 64-bit Dowd and Associates Gentoo Linux AMI. Will use a
c1.medium instance for upgrade and t1.micro as a test instance.
Because sudo will be called, this script cannot be run in the background.
Recommend running screen before running.

Takes 4 options:
region 
security group
key pair
keyfile

--------------------------------------------------------------------------------

update_gentoo_32.sh

Updates the latest 64-bit Dowd and Associates Gentoo Linux AMI. Will use a
c1.medium instance for upgrade and t1.micro as a test instance.
Because sudo will be called, this script cannot be run in the background.
Recommend running screen before running.

Takes 4 options:
region 
security group
key pair
keyfile

--------------------------------------------------------------------------------

x86_64/update_gentoo.sh & i386/update_gentoo.sh

The script to be copied to and executed on update instance.

--------------------------------------------------------------------------------

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.