Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Port int // SSH server port
HostKey string // Path to SSH host key
VMCIDR string // CIDR block for VM IP addresses
VMMemory int // VM memory in MB
VMCPUs int // Number of VM CPUs
MaxConcurrentVMs int // Maximum number of concurrent VMs (0 = unlimited)
DataDir string // Directory for VM snapshots and data
Rootfs string // Path to rootfs image
AllowInternet bool // Allow VMs to access the Internet
}
Config holds all configuration options for the ssh-hypervisor
func (*Config) GetVMIPRange ¶
GetVMIPRange returns the usable IP range for VMs
Click to show internal directories.
Click to hide internal directories.