# Send Esxi Debian Deploy to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openbot-esxi",
    "name": "Esxi Debian Deploy",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/cepheiden/openbot-esxi",
    "canonicalUrl": "https://clawhub.ai/cepheiden/openbot-esxi",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openbot-esxi",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openbot-esxi",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "references/preseed-template.cfg",
      "references/vmx-template.md",
      "scripts/esxi-deploy.sh",
      "scripts/esxi-vm-resize-disk.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "openbot-esxi",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T23:36:43.483Z",
      "expiresAt": "2026-05-09T23:36:43.483Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openbot-esxi",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openbot-esxi",
        "contentDisposition": "attachment; filename=\"openbot-esxi-0.1.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "openbot-esxi"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openbot-esxi"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openbot-esxi",
    "downloadUrl": "https://openagent3.xyz/downloads/openbot-esxi",
    "agentUrl": "https://openagent3.xyz/skills/openbot-esxi/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openbot-esxi/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openbot-esxi/agent.md"
  }
}
```
## Documentation

### ESXi Debian 13 Zero-Touch Deploy

Deploy fully configured Debian 13 VMs on ESXi 8 in ~8 minutes with zero manual interaction.

### Required Environment Variables

VariableRequiredDescriptionESXI_HOSTYesESXi host IP addressESXI_PASSYesESXi root passwordESXI_USERNoESXi user (default: root)ESXI_DATASTORENoTarget datastore (default: datastore1)NETWORKNoPort group name (default: VM Network)DOMAINNoDomain for VMs (default: local)VM_PASSYes (resize only)VM root password for disk resize script

⚠️ Note: The deploy script generates a random VM password and prints it to stdout. The password is also embedded in the preseed ISO uploaded to the ESXi datastore. Remove the ISO after deployment and treat stdout output as sensitive.

### Requirements

ESXi 8.x host with SSH and datastore access
govc CLI (github.com/vmware/govmomi)
xorriso, isolinux — for custom ISO build
sshpass — for automated SSH/SCP
Tools on agent host: bash, python3, wget

Install on Debian/Ubuntu:

apt install xorriso isolinux sshpass
# govc: https://github.com/vmware/govmomi/releases

### Usage

All credentials are passed via environment variables — nothing is hardcoded or embedded in process arguments.

export ESXI_HOST="192.168.1.100"
export ESXI_PASS="your-esxi-root-password"

bash scripts/esxi-deploy.sh [hostname] [cpu] [ram_mb] [disk_gb] [serial_port]

ParameterDefaultDescriptionhostnamerandom animal nameVM namecpu2vCPU countram_mb2048Memory in MBdisk_gb20Disk size in GBserial_portrandom 8600-8699Telnet port for serial console

Example:

bash scripts/esxi-deploy.sh webserver 4 4096 50 8610

### What It Does

Generate preseed.cfg — German locale, DHCP, configurable user + root, random password
Build custom ISO — Debian netinst + preseed, patched isolinux for auto-boot
Upload ISO to ESXi datastore
Create VM — NVMe disk (thin provisioned), dual NIC (E1000 for installer + vmxnet3 for production), serial port via telnet
Boot + unattended install — preseed handles everything
Post-install — Remove E1000, eject ISO, set boot to HDD
Output credentials — SSH + serial console access details

### Serial Console

Every VM gets a serial port accessible via telnet to the ESXi host:

telnet <ESXI_IP> <serial_port>

Works even when the VM has no network. Configured:

GRUB: GRUB_TERMINAL="console serial", serial 115200 8N1
Kernel: console=tty0 console=ttyS0,115200n8
Getty: serial-getty@ttyS0.service enabled

ESXi firewall requirement (activated automatically by the script):

esxcli network firewall ruleset set -e true -r remoteSerialPort

Important: Set serial port IP to the ESXi host IP, not 0.0.0.0:

serial0.fileName = "telnet://<ESXI_IP>:<port>"

### Online Disk Resize

Grow a VM's disk without shutdown:

export ESXI_HOST="192.168.1.100"
export ESXI_PASS="your-esxi-password"
export VM_PASS="vm-root-password"

bash scripts/esxi-vm-resize-disk.sh <vm-name> <new-size-gb>

Requires cloud-guest-utils on the VM (pre-installed by the deploy script).

### Configuration

All settings are configurable via environment variables:

export ESXI_HOST="192.168.1.100"    # ESXi host IP (required)
export ESXI_PASS="secret"           # ESXi root password (required)
export ESXI_USER="root"             # ESXi user (default: root)
export ESXI_DATASTORE="datastore1"  # Target datastore (default: datastore1)
export NETWORK="VM Network"         # Port group name (default: VM Network)
export DOMAIN="example.local"       # Domain for VMs (default: local)

No credential store or external resolver is required. Pass secrets via environment variables only — they are never embedded in process arguments or URLs.

### VM Configuration Details

ComponentChoiceReasonDisk controllerNVMeFaster than SCSI/SATA for modern guestsProduction NICvmxnet3Paravirtualized, best performanceInstaller NICE1000Kernel driver built-in, no firmware neededBoot modeBIOSSimpler for automated installsProvisioningThinSaves datastore space

### Preseed Highlights

Locale: de_DE.UTF-8, keyboard de, timezone Europe/Berlin
Partitioning: automatic, single root + swap
Packages: open-vm-tools, curl, sudo, qemu-guest-agent, cloud-guest-utils
SSH: PermitRootLogin yes, PasswordAuthentication yes
Blacklisted modules: floppy, pcspkr (prevent I/O error loops in VMs)

Customize the preseed section in esxi-deploy.sh for different locales or packages.

### Security Considerations

Credentials: All secrets are passed via environment variables, never embedded in URLs or process arguments. govc uses GOVC_USERNAME/GOVC_PASSWORD env vars.
SSH access: The script uses sshpass for automated SSH. For production, consider SSH key-based auth instead.
Serial console: Telnet is unencrypted. The serial port is bound to the ESXi host IP (not 0.0.0.0), but anyone with network access to the ESXi host can connect. Restrict access via:

ESXi firewall rules (limit remoteSerialPort to trusted IPs)
Network segmentation / VPN
Disable serial port after debugging


Generated passwords: VM passwords are output to stdout. Redirect output or use a credential store in production.
Lab use recommended: Test on a lab ESXi host before using in production. Review all scripts before running.

### Gotchas

No heredoc in preseed late_command — Shell expansion in the deploy script's heredoc destroys nested heredocs. Use echo -e or single-line commands instead.
Serial console only works after install — The Debian installer uses VGA; serial output starts at first boot (GRUB + kernel).
ESXi firewall blocks serial by default — The remoteSerialPort ruleset must be enabled.
Don't resize MBR partitions live with extended/swap layout — Use growpart on the root partition or redeploy with larger disk.
E1000 removal requires shutdown — The script handles this automatically post-install.

### References

references/preseed-template.cfg — Full preseed config template
references/vmx-template.md — VMX configuration reference
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: cepheiden
- Version: 0.1.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T23:36:43.483Z
- Expires at: 2026-05-09T23:36:43.483Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openbot-esxi)
- [Send to Agent page](https://openagent3.xyz/skills/openbot-esxi/agent)
- [JSON manifest](https://openagent3.xyz/skills/openbot-esxi/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openbot-esxi/agent.md)
- [Download page](https://openagent3.xyz/downloads/openbot-esxi)