Create manual authored by Seyfried's avatar Seyfried
Die Kommandos ```deployclass``` und ```deployvm``` stellen Klassensätze bzw. einzelne VMs zur Verfügung.
# deployclass
**Usage:** ```/home/administrator/bin/deployclass <class> [<template>]```
deploy VMs using ```<template>``` (or Ubuntu), if omitted.
**Prerequisites:** Project ```<class>``` must exist on cloudstack. This project must have an ssh key.
Admin users (account "administrator") will be given password GebTTMMJJJJ using each student's birthday
DNS will be updated to have <student-name>.vm.hhs.karlsruhe.de pointing to the vm's IP.
Note that the first sshkey in the project will be used.
# deployvm
**Usage:** ```/home/administrator/bin/deployvm <project> <distro> <name> <pwd>```
The ```<project>``` must exist on cloudstack. The ```<distro>``` parameter does a substring search on the available template names
(cf. ```cmk list templates templatefilter=executable | jq '.template[].name'```).
```<name>``` is the VM's name which will be in the DNS records with ```<name>.vm.hhs.karlsruhe.de```. Adminuser can be configured in the script and is currently "administrator".
\ No newline at end of file