Skip to content

Instantly share code, notes, and snippets.

ruhenheim ruhenheim

  • Kumamoto
Block or report user

Report or block ruhenheim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ruhenheim
ruhenheim / vmimport_vpc.bat
Created Apr 11, 2013
execute AWS VM Import sample DOS batch for VPC.
View vmimport_vpc.bat
set JAVA_HOME=<JAVA_JRE_HOME>
set EC2_HOME=<EC2_API_TOOLS_HOME>
set EC2_URL=https://ec2.ap-northeast-1.amazonaws.com
REM ## if use Proxy ##
REM set EC2_JVM_ARGS=-Dhttp.proxySet=true -Dhttps.proxySet=true -Dhttp.proxyHost=<YOUR_PROXY_HOST_FOR_HTTP> -Dhttp.proxyPort=<HTTP_PROXY_PORT> -Dhttps.proxyHost=<YOUR_PROXY_HOST_FOR_HTTPS> -Dhttps.proxyPort=<HTTPS_PROXY_PORT>
set PATH=%PATH%;%EC2_HOME%\bin
set AWS_ACCESS_KEY=<YOUR_ACCESS_KEY>
set AWS_SECRET_KEY=<YOUR_SECRET_KEY>
set VMDK=<YOUR-VMDK-FILENAME>.vmdk
set S3_OWNER_ACCESS_KEY=<YOUR_S3_BUCKET_ACCESS_KEY>
You can’t perform that action at this time.