env_create
Create a blank VM with an installation ISO for manual OS installation. Drive the installer with screenshot, typing, and click tools until the OS is ready.
Instructions
Create a blank environment with an installation ISO in its DVD drive and boot it, for an OS that has no recipe and no unattended installer - an old distribution, or one whose installer has to be answered by hand. The boot order is disk first, DVD second, so the installer runs while the disk is blank and the installed system boots itself afterwards. The result has no golden image and therefore no credentials: env_exec will not work on it. Drive the installer with env_screenshot, env_type, env_keys and env_click, and note that env_revert puts the blank disk back and restarts the install. When the OS is up, env_promote turns it into a golden - and golden_adopt then records the account created inside it. iso_path is a path on this host, where the server runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | CPUs, default 2 | |
| name | Yes | name for the new environment: letters, digits and dashes | |
| ostype | Yes | VirtualBox guest type, for example Linux_64, OpenSUSE_64 or Windows10_64 | |
| disk_gb | No | size of the blank disk in GB, default 32; it is dynamic and grows on demand | |
| iso_path | Yes | absolute path on THIS host to the installation ISO | |
| memory_mb | No | memory in MB, default 2048 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | Yes | ||
| log | No |