Misc. capitalization/comment adjustments (#231)

The VirtualMachineInstance comment is not entirely true. It just
represents a single VM.
This commit is contained in:
Danny Canter
2025-07-24 16:40:21 -07:00
committed by GitHub
parent a73541e393
commit a5937a8b13
3 changed files with 7 additions and 7 deletions
@@ -53,7 +53,7 @@ struct VZVirtualMachineInstance: VirtualMachineInstance, Sendable {
public var interfaces: [any Interface]
/// Kernel image.
public var kernel: Kernel?
/// The root Filesystem.
/// The root filesystem.
public var initialFilesystem: Mount?
/// File path to store the sandbox boot logs.
public var bootlog: URL?
@@ -25,7 +25,7 @@ public enum VirtualMachineInstanceState: Sendable {
case unknown
}
/// A manager that can spawn and manage a virtual machine.
/// A live instance of a virtual machine.
public protocol VirtualMachineInstance: Sendable {
associatedtype Agent: VirtualMachineAgent
+5 -5
View File
@@ -28,7 +28,7 @@ extension Application {
abstract: "Run a container"
)
@Option(name: [.customLong("image"), .customShort("i")], help: "image reference to base the container on")
@Option(name: [.customLong("image"), .customShort("i")], help: "Image reference to base the container on")
var imageReference: String = "docker.io/library/alpine:3.16"
@Option(name: .long, help: "id for the container")
@@ -43,16 +43,16 @@ extension Application {
@Option(name: .customLong("fs-size"), help: "The size to create the block filesystem as")
var fsSizeInMB: UInt64 = 2048
@Option(name: .customLong("mount"), help: "directory to share into the container (Example: /foo:/bar)")
@Option(name: .customLong("mount"), help: "Directory to share into the container (Example: /foo:/bar)")
var mounts: [String] = []
@Option(name: .long, help: "ip address with subnet")
@Option(name: .long, help: "IP address with subnet")
var ip: String?
@Option(name: .long, help: "gateway address")
@Option(name: .long, help: "Gateway address")
var gateway: String?
@Option(name: .customLong("ns"), help: "nameserver addresses")
@Option(name: .customLong("ns"), help: "Nameserver addresses")
var nameservers: [String] = []
@Option(