-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
**Changes:** - Rename and change type to bool: nns_public_key_exists, node_operator_private_key_path, use_ssh_authorized_keys, inject_ic_crypto, inject_ic_state, inject_ic_registry_local_store, - Add GuestOSDevSettings fields: hostname (will be used to manually set hostname in testing), generate_ic_boundary_tls_cert ([used for creating a testnet with API BNs](#2290)) - Add config commands: GenerateGuestosConfig, GenerateTestnetConfig - Add config_version field, config version unit tests, and defined protocol for updating config - Uncouple domain_name from ipv4_config
- Loading branch information
1 parent
156ad35
commit 4e83be1
Showing
6 changed files
with
993 additions
and
97 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
# IC-OS Config | ||
|
||
IC-OS Config is responsible for managing the configuration of IC-OS images. | ||
IC-OS Config is responsible for managing the configuration of IC-OS images. | ||
|
||
SetupOS transforms user-facing configuration files (like `config.ini`, `deployment.json`, etc.) into a SetupOSConfig struct. Then, in production, configuration is propagated from SetupOS → HostOS → GuestOS (→ replica) via the HostOSConfig and GuestOSConfig structures. | ||
|
||
All access to configuration and the config partition should go through the config structures. | ||
|
||
For testing, IC-OS Config is also used to create HostOS and GuestOS configuration directly. | ||
For testing, IC-OS Config is also used to create GuestOS configuration directly. | ||
|
||
When updating the IC-OS configuration, it's crucial to ensure backwards compatibility. | ||
For detailed guidelines on updating the configuration, please refer to the documentation in [`types.rs`](src/types.rs). | ||
Any changes to the configuration should undergo a thorough review process to ensure they follow the guidlines. | ||
|
||
For details on the IC-OS configuration mechanism, refer to [ic-os/docs/Configuration.adoc](../../../ic-os/docs/Configuration.adoc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.