Commits

Eric Dowd committed 4f4c3d1

Updated README

Comments (0)

Files changed (1)

 
 ## setup_build_gentoo.sh
 
-Sets up common needs for 32 and 64 bootstrap scripts and will print out the commands to execute them:
+Optional script. Does the security group and key pair setup that is in build_gentoo.sh. Done so keys and security group can be set up just once.
 
 can pass 4 options, in order:
 
 
 * 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`-`date +%Y%m%d%H%M%S`" e.g. `gentoo-bootstrap_us-east-1-20130310014923`
-* key file defaults to "gentoo-bootstrap\_`$region`-`date +%Y%m%d%H%M%S`.pem" e.g. `gentoo-bootstrap_us-east-1-20130310014923.pem`
+* key pair defaults to "gentoo-bootstrap\_`$region`" e.g. `gentoo-bootstrap_us-east-1`
+* key file defaults to "gentoo-bootstrap\_`$region`.pem" e.g. `gentoo-bootstrap_us-east-1.pem`
 * The key pair will be created if needed.
 
 Sample command to setup us-east-1
 * architecture is not optional. The script will give an error. Valid values are: `i386`, `x86_64`
 * 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`-`date +%Y%m%d%H%M%S`" e.g. `gentoo-bootstrap_us-east-1-20130310014923`
-* key file defaults to "gentoo-bootstrap\_`$region`-`date +%Y%m%d%H%M%S`.pem" e.g. `gentoo-bootstrap_us-east-1-20130310014923.pem`
+* key pair defaults to "gentoo-bootstrap\_`$region`-`uuidgen`" e.g. `gentoo-bootstrap_us-east-1-78917775-1adc-40b9-9fba-bc84b7158683`
+* key file defaults to "gentoo-bootstrap\_`$region`-`uuidgen`.pem" e.g. `gentoo-bootstrap_us-east-1-78917775-1adc-40b9-9fba-bc84b7158683.pem`
 * key pair will be created if needed.
 
 Default AMI name is Gentoo\_64-bit-EBS-`date +%Y-%m-%d-%H-%M-%S` if architecture is `x86_64` and is Gentoo\_32-bit-EBS-`date +%Y-%m-%d-%H-%M-%S` if architecture is `i386`, but can be changed if the environment variable `AMI_NAME` is set.