ssh-keygen -t rsa -b 4096
-
upload the public key to Softlayer.
-
my may need to make sure local private key has the right mode:
chmod -v -R 600 *.rsa
Reference Softlayer Python Client
sudo pip install softlayer
sudo slcli setup and config created in ~/.softlayer
-
Note: if slcli setup does not work, may need to verify if six is at level of 1.9.0
remove previously installed six from /Library/Python/2.7/site-packages and /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/
sudo pip install six==1.9.0
Scenario | Scripts | Other details |
---|---|---|
create VM | createVM.sh hostname public_key_name | revise the VM configuration as needed |
create VM from image | script-sample/createVMFromImage.sh hostname image-template-guid public_key_name | revise VM configuration as needed |
Get image-template-guid | slcli image list |