Skip to content

Conversation

@Ronitsabhaya75
Copy link
Contributor

Type of Change

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

Motivation and Context

Closes #835

In ReservedVmnetNetwork.swift, after retrieving the auto-assigned subnet from macOS, save it to DefaultsStore so it's reused on subsequent restarts.

Code Changes:

// After getting subnet from macOS, persist it
if configuration.subnet == nil {
    DefaultsStore.setOptional(key: .defaultSubnet, value: runningSubnet.description)
}

Testing

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

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.

[Bug]: container system stop / container system start causes a new default network

1 participant