Help for this page

Select Code to Download


  1. or download this
          if($build_config_instance){
            my $host = 'root@' . $instance->dns_name();
    ...
            `ssh -i $pvt_key $host /root/$build_script `;
          }
    
  2. or download this
    Oct  4 02:15:51 svrname S70ec2-get-credentials: New ssh key added to /
    +root/.ssh/authorized_keys from http://169.254.169.254/1.0/meta-data/p
    +ub
    lic-keys/0/openssh-key
    Oct  4 02:15:52 svrname S71ec2-run-user-data: Retrieving user-data
    Oct  4 02:15:52 svrname S71ec2-run-user-data: Skipping user-data as it
    + does not begin with #!
    
  3. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
      print STDERR Dumper($instance);
    }
    
  4. or download this
    #!/bin/bash
    set -e -x
    ...
    apt-get --yes update
    apt-get --yes upgrade
    apt-get --yes install subversion build-essential etc . . .