diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-04-25 08:48:47 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-04-25 08:55:30 +0000 |
commit | d6e84a4574a200de63e8fe86ef8574b507fd366e (patch) | |
tree | 1b64390b06375630554d7c999d1a083387719c19 /nixos/doc/manual/development | |
parent | 6d69171610869050b8c1daa07ec2446a5c897c19 (diff) | |
download | nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar.gz nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar.bz2 nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar.lz nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar.xz nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.tar.zst nixpkgs-d6e84a4574a200de63e8fe86ef8574b507fd366e.zip |
nixosTest: remove hostname limitations
Diffstat (limited to 'nixos/doc/manual/development')
-rw-r--r-- | nixos/doc/manual/development/writing-nixos-tests.section.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/doc/manual/development/writing-nixos-tests.section.md b/nixos/doc/manual/development/writing-nixos-tests.section.md index 3de46fda3df..486a4b64a26 100644 --- a/nixos/doc/manual/development/writing-nixos-tests.section.md +++ b/nixos/doc/manual/development/writing-nixos-tests.section.md @@ -130,6 +130,11 @@ starting them in parallel: start_all() ``` +If the hostname of a node contains characters that can't be used in a +Python variable name, those characters will be replaced with +underscores in the variable name, so `nodes.machine-a` will be exposed +to Python as `machine_a`. + ## Machine objects {#ssec-machine-objects} The following methods are available on machine objects: |