[tutorial 013] The variable is a "choice" variable

"Foo" should not be an option to the "proxy_mode" variable.

Now the "proxy_mode" type is "choice", that means that there is a list of available values that can be selected.

We say that the "proxy_mode" variable is constrained (by choices): this variable accept, in fact, only a list of choices.
This commit is contained in:
egarette@silique.fr 2025-11-04 19:22:06 +01:00
parent d7f493fa9a
commit 08e7754b62

View file

@ -2,5 +2,13 @@
---
version: 1.1
proxy_mode: No proxy # Configure Proxy Access to the Internet
proxy_mode:
description: Configure Proxy Access to the Internet
choices:
- No proxy
- Auto-detect proxy settings for this network
- Use system proxy settings
- Manual proxy configuration
- Automatic proxy configuration URL
default: No proxy
...