This is a solution for the problem with server rebuild returning 'Invalid Template' error.
"Here is the patch you need to run on the master node in SSH:
- Code: Select all
wget http://files.soluslabs.com/solusvm/fixes/api_vserver_rebuild.txt -O /usr/local/solusvm/includes/api/api_vserver_rebuild.php
This will allow you to rebuild KVM virtual servers via the API. Example output if using the json return values would be:
- Code: Select all
{"status":"success","statusmsg":"Virtual server is being rebuilt","rootpassword":"6axLkKpi","information":"Blah\nBlah\nBlah"}
Solution works on SolusVM beta only.
According to the answer received from SolusVM support, it will be included in the stable version.