| 41 | |
| 42 | '''To automate installs:''' |
| 43 | |
| 44 | The `install` command allows installing in a variety of ways. |
| 45 | |
| 46 | Debian preseeds and Red Hat kickstarts can be triggered through by passing the `preseed=` or `ks=` arguments: |
| 47 | {{{ |
| 48 | remctl xvm-remote control username-vm install mirror=http://ftp.us.debian.org/debian dist=stable arch=amd64 preseed=https://web.mit.edu/username/Public/preseed.cfg |
| 49 | }}} |
| 50 | |
| 51 | An arbitrary Debian-style mirror can be passed, and the XVM host will download the kernel and initrd from the mirror, and boot it passing in the preseed URL. Creating a [https://wiki.debian.org/DebianInstaller/Preseed custom preseed] then allows control over the install process. |
| 52 | |
| 53 | Similarly, the `ks=` argument allows using a Red Hat mirror. |
| 54 | |
| 55 | The [http://xvm.mit.edu/gitweb/invirt/packages/invirt-xen-config.git/blob/0.0.60:/invirt-database#l57 relevant implementation] is in the `invirt-xen-config.git` repo and may help construct appropriate commands. |
| 56 | |
| 57 | This functionality is not necessarily guaranteed to remain stable. |
| 58 | |
| 59 | The XVM SerialConsole (`ssh -oGSSAPIAuthentication=yes username-vm@xvm-console.mit.edu`) can be used to control the install. |