vm_network_config
Enable or disable network access for a sandboxed VM, using user-mode NAT only. Changes apply at the next boot, so restart the VM to activate them.
Instructions
Set the VM's network flag: OFF by default; enabling needs the user's OK (RULES.md). Only user-mode NAT is implemented (bridge raises honestly). Applies at the next vm_boot - a running VM keeps its old network until shutdown + boot. Check with vm_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nat | No | ||
| name | Yes | ||
| enable | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |