sunbeam-charms/charms/sunbeam-machine/config.yaml
Hemanth Nakkina ada047a90f
[sunbeam-machine] Add proxy configs
Add http_proxy, https_proxy, no_proxy as
configuration to charm. Update the content
of /etc/environment file on setting the
proxy configs.
If the proxy configuration is not set on
sunbeam-machine, clear the corresponding
configs from /etc/environment.

Change-Id: I5ba444d87e199a4314439eddf513729138c40c3f
2024-03-12 18:08:32 +05:30

18 lines
522 B
YAML

# This file defines charm config options, and populates the Configure tab on Charmhub.
# If your charm does not require configuration options, delete this file entirely.
#
# See https://juju.is/docs/config for guidance.
options:
debug:
default: False
type: boolean
http_proxy:
description: Set HTTP_PROXY in /etc/environment
type: string
https_proxy:
description: Set HTTPS_PROXY in /etc/environment
type: string
no_proxy:
description: Set NO_PROXY in /etc/environment
type: string