Skip to content

docs: add [machine] section to config.toml reference#1708

Open
Jonathan5643 wants to merge 1 commit into
apple:mainfrom
Jonathan5643:Jonathan5643-patch-1
Open

docs: add [machine] section to config.toml reference#1708
Jonathan5643 wants to merge 1 commit into
apple:mainfrom
Jonathan5643:Jonathan5643-patch-1

Conversation

@Jonathan5643

@Jonathan5643 Jonathan5643 commented Jun 12, 2026

Copy link
Copy Markdown

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

The [machine] section was already implemented in ContainerSystemConfig.swift and consumed by MachineCreate.swift as the baseline configuration for container machine create, defining default CPU count, memory allocation, and home directory mount mode for new machines. However, it was missing from the config.toml reference documentation. This change brings the documentation in line with the source code and provides users with a complete reference of available configuration sections.

Source: Sources/ContainerPersistence/MachineConfig.swift

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

The [machine] section in config.toml sets default CPU count, memory allocation, and home directory mount mode for `container machine create`. It was already defined in ContainerSystemConfig and consumed by MachineCreate as the baseline for per-machine boot configuration.

Source: Sources/ContainerPersistence/MachineConfig.swift
@Jonathan5643 Jonathan5643 changed the title add [machine] section to config.toml reference docs: add [machine] section to config.toml reference Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant