Created
August 16, 2014 06:28
-
-
Save tamirko/8df27f69a81e877307bb to your computer and use it in GitHub Desktop.
SMALL_LINUX
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SMALL_LINUX : computeTemplate { | |
// 3839 is a Red Hat Enterprise Linux - 6 (64 bit) | |
imageId "3839" | |
// Mandatory. Files from the local directory will be copied to this directory on the remote machine. | |
remoteDirectory "/tmp/gs-files" | |
// Mandatory. Amount of RAM available to machine. | |
machineMemoryMB 4096 | |
// Mandatory. Hardware ID. | |
hardwareId largeHardwarePrivateOnlyId | |
// Mandatory. All files from this LOCAL directory will be copied to the remote machine directory. | |
localDirectory "upload" | |
// Optional. Name of key file to use for authenticating to the remote machine. Remove this line if key files | |
// are not used. | |
locationId locationId | |
username "root" | |
options ([ | |
"domainName":orgDomain, | |
"networkVlanId":networkVlanId, | |
"privateNetworkOnly": privateNetworkOnly | |
]) | |
javaUrl "ftp://10.110.65.164/pub/jdk-6u32-linux-x64.bin" | |
overrides ([ | |
// additional disks, 7 in total. | |
//"jclouds.softlayer.external-disks-ids":smallLinuxOtherHardDisksIDs, | |
"jclouds.endpoint" : "https://api.service.softlayer.com/rest", | |
"jclouds.softlayer.package-id":packageId, // Use Bare Metal Servers Package or not (44 is BM) | |
"jclouds.so-timeout" : 600000 , | |
"jclouds.connection-timeout" : 600000, | |
"jclouds.request-timeout":600000, | |
//"jclouds.max-retries":5, | |
"jclouds.max-retries":1, | |
"jclouds.retries-delay-start":300000 | |
]) | |
env ([ | |
"ESM_JAVA_OPTIONS" : "-Dorg.openspaces.grid.start-agent-timeout-seconds=72000000" | |
]) | |
// when set to 'true', agent will automatically start after reboot. | |
autoRestartAgent true | |
// enable sudo. | |
privileged true | |
// optional. A native command line to be executed before the cloudify agent is started. | |
// initializationCommand "echo Cloudify agent is about to start" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment