diff options
author | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-04-12 16:46:04 +0200 |
---|---|---|
committer | Sam Leonard <sam.leonard@codethink.co.uk> | 2024-04-15 12:42:06 +0200 |
commit | c3dd4e20fe5d070dec6e789109ef6bdd41796ec3 (patch) | |
tree | 2e60f604fcc47344e0d06142301b226244bf68c0 /docs/ENVIRONMENT.md | |
parent | nspawn,shared/netif-util: move generate_mac and shorten_ifname to shared/neti... (diff) | |
download | systemd-c3dd4e20fe5d070dec6e789109ef6bdd41796ec3.tar.xz systemd-c3dd4e20fe5d070dec6e789109ef6bdd41796ec3.zip |
vmspawn: generate predicatable TAP device names and MAC addresses
Diffstat (limited to 'docs/ENVIRONMENT.md')
-rw-r--r-- | docs/ENVIRONMENT.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/ENVIRONMENT.md b/docs/ENVIRONMENT.md index 3585ab0123..961601c72e 100644 --- a/docs/ENVIRONMENT.md +++ b/docs/ENVIRONMENT.md @@ -183,6 +183,14 @@ All tools: expected format is six groups of two hexadecimal digits separated by colons, e.g. `SYSTEMD_NSPAWN_NETWORK_MAC=12:34:56:78:90:AB` +`systemd-vmspawn`: + +* `$SYSTEMD_VMSPAWN_NETWORK_MAC=...` — if set, allows users to set a specific MAC + address for a VM, ensuring that it uses the provided value instead of + generating a random one. It is effective when used with `--network-tap`. The + expected format is six groups of two hexadecimal digits separated by colons, + e.g. `SYSTEMD_VMSPAWN_NETWORK_MAC=12:34:56:78:90:AB` + `systemd-logind`: * `$SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK=1` — if set, report that |