How to create machine ?
There are 3 credential ssh mode as following,
SSHKEY{ "domain": "12.34.56.78", "port": "22", "username": "ubuntu", "mode": "SSHKEY", "credential": { "sshkeyfile": "/credential/REPLACE_PATH/REPLACE_PRIVATE.KEY" }, "sudopassword": "REPLACE_PASS" }SSHKEYWITHPASSPHRASE{ "domain": "12.34.56.78", "port": "22", "username": "ubuntu", "mode": "SSHKEYWITHPASSPHRASE", "credential": { "sshkeyfile": "/credential/REPLACE_PATH/REPLACE_PRIVATE.KEY", "passphrase": "REPLACE_SCRETE" }, "sudopassword": "REPLACE_PASS" }USERPASS{ "domain": "12.34.56.78", "port": "22", "username": "ubuntu", "mode": "USERPASS", "credential": { "password": "REPLACE_SCRETE" }, "sudopassword": "REPLACE_PASS" }
Notice:
REPLACE_PATH/REPLACE_PRIVATE.KEYshould be replaced by theSSHDATAstructure used during installation. e.g,SSHDATAhas inner pathmyvps/thekey, therefore, thesshkeyfileshould be modified as/credential/myvps/thekey.- Except value of
modeshould NOT be modified, you can replace value of other attributes.