Repository navigation
Networkd containers #140669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Networkd containers #140669
Changes from all commits
Commits
Show all changes
79 commits
Select commit
Hold shift + click to select a range
202254d
nixos/systemd-nspawn: Allow to modify .nspawn-units with a derivation
Ma27 80045ce
nixos/containers-next: initialize first draft for new NixOS container…
Ma27 6068759
nixos/containers-next: implement small wrapper for nspawn port-forwards
Ma27 fe18e25
nixos/containers-next: implement more advanced networking tests
Ma27 e727866
nixos/tests/container-migration: init
Ma27 891b998
nixos/containers-next: allow static configuration for a virtual zone …
Ma27 3199c8f
nixos/switch-to-configuration: import old config activation changes
Ma27 1f9aca8
nixos/containers-next: fix broken machinectl reboot and probably more
Ma27 4738b8e
nixos/switch-to-configuration: Implement more generic decisions for c…
Ma27 e33228f
nixos/containers-next: add read-only `nixos.containers.rendered` option
Ma27 bcf4864
nixos/all-tests: register tests
Ma27 a5db036
nixos/containers-next: make sure that the module works fine with `res…
Ma27 aa7956b
nixos/containers-next: add test for SSH inside a nspawn machine
Ma27 bcb6671
nixos/containers-next: enable private users by default
Ma27 a3a28fc
nixos/systemd-nspawn: make `/etc/systemd/nspawn` mutable
Ma27 184f470
nixos/containers-next: fix eval after 21.05 breaking changes
Ma27 7423d9a
nixos-nspawn: init
Ma27 8811e17
nixos/containers-next: implement proper user-namespacing support
Ma27 b769a0a
nixos/containers-next: add support for `LoadCredential=`
Ma27 8fc451d
nixos/containers-next-imperative: init
Ma27 e12408a
sudo-nspawn: init
Ma27 10214d0
nixos/switch-to-configuration: fix a few problems with nspawn instances
Ma27 107d4ca
nixos-nspawn: misc improvements & cleanups
Ma27 cbdf5d3
nixos/containers-next: move to subdir and factor out defaults for con…
Ma27 ea7bd5a
nixos-nspawn: implement activation & networking
Ma27 85b8882
nixos/activation-scripts: turn off `var`-script for containers
Ma27 0caa260
Revert "nixos/activation-scripts: turn off `var`-script for containers"
Ma27 c8355e5
nixos/containers-next: only create OS structure in `/var/lib/machines…
Ma27 62e4520
nixos/tests/containers-next: add testcase for custom `ResolvConf`-set…
Ma27 6467ce6
nixos/container-migration-test: confirm that nixos-container is still…
Ma27 9f80931
nixos/containers-next: assert that networkd is used
Ma27 82a3419
nixos/tests/containers-next-imperative: ensure that imperative contai…
Ma27 ebcdc12
nixos/tests/container-migration: fix eval
Ma27 a33d4ca
nixos/containers-next: fix eval
Ma27 9a3b5ec
nixos/qemu-vm: increase /boot to 120M
Ma27 40a8152
nixos/container-migration: actually move state of containers
Ma27 ba4d079
nixos/containers-next: fix test
Ma27 d4a16d5
nixos/containers-next: s/literalExample/literalExpression/g
Ma27 7006d0d
nixos/useHostResolvConf: deprecate option
Ma27 5d8c6e1
nixos/containers-next-imperative: fix test
Ma27 f93309d
nixos/containers-next: fix `systemd-networkd-wait-online.service` han…
Ma27 2c2b642
nixos/containers-next: config -> system-config
Ma27 7ab5a06
nixos/containers-next: confirm that exposed hostnames also work for s…
Ma27 b371881
nixos/containers-next: review fixes
Ma27 1fd3769
sudo-nspawn: merge with `pkgs.sudo`
Ma27 2f08185
nixos-nspawn: refactor python setup
Ma27 cd533c3
Merge branch 'master' into networkd-containers
Ma27 feffb03
nixos/qemu-vm: fix manual evaluation
Ma27 c1443db
Merge branch 'master' into networkd-containers
Ma27 dc7aaba
nixos/containers-next-imperative: workarounds to get the test green f…
Ma27 e6cc908
nixos/containers-next: fix option doc wording
Ma27 b69a0b5
Merge branch 'master' into networkd-containers
Ma27 fa25e04
nixos/module-list: fix merge
Ma27 be5fa64
nixos/containers-next: remove forwardPorts option
Ma27 d9fdcef
nixos/containers-next-macvlan: init
Ma27 c262041
nixos/tests: move all rfc108 related tests into a common subdir
Ma27 b81a276
nixos/tests/containers-next/wireguard: init
Ma27 6d0511f
nixos/tests/containers-next/basic: clean up
Ma27 29bb8dc
nixos/tests/containers-next: rm skipLint
Ma27 d0c7529
nixos: use mdDoc for rfc108 related changes
Ma27 f4e5691
nixos/containers-next: remove `rendered` option
Ma27 d6dded1
nixos/containers-next: remove `|| true` from creation of `/etc/{os-re…
Ma27 6ba0180
nixos/tests/containers-next/config-activation: remove unneeded f-str …
Ma27 c050ae4
nixos/systemd-nspawn: Updates to switch-to-configuration.pl
m1cr0man d39b85f
nixos/switch-to-configuration: query active nspawn instance names via…
Ma27 4611773
Merge branch 'master' into networkd-containers
Ma27 08b30c7
nixos/tests/containers-next: fix handling of underscores in container…
Ma27 a76c41e
nixos/switch-to-configuration: fix comment position
Ma27 4f4c56d
nixos/tests/containers-next: fix test
Ma27 8cc3b52
nixos/containers-next: minor refactorings / cleanups
Ma27 b418f0e
nixos/containers-next: simplify networkd expressions, prohibit contai…
Ma27 ddd47d6
nixos/tests: default.nix for containers-next
Ma27 bac3021
nixos/containers-next: add support for v6 nat
Ma27 71d3cd8
nixos/containers-next: simplify / refactor tests
Ma27 60f41e6
nixos/containers-next: make start timeout configurable
Ma27 5b8eb90
nixos/containers-next: fix bind-mounts of daemon-socket
Ma27 5d7d31e
nixos/containers-next: only enable DHCP for a container's host0 if ne…
Ma27 d20ccb1
nixos/containers-next: test privateuserschown on container migration
Ma27 d09cddd
nixos/containers-next: fix manual build
Ma27 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # FIXME remove before merging! | ||
|
|
||
| { nixpkgs }: | ||
| let | ||
| release = import ./nixos/release.nix { | ||
| supportedSystems = [ "x86_64-linux" ]; | ||
| inherit nixpkgs; | ||
| }; | ||
| in | ||
|
|
||
| { | ||
| container-tests = { | ||
| general = release.tests.containers-next.basic; | ||
| migration = release.tests.containers-next.migration; | ||
| activation = release.tests.containers-next.config-activation; | ||
| imperative = release.tests.containers-next.imperative; | ||
| nat = release.tests.containers-next.nat; | ||
| daemon-mount = release.tests.containers-next.daemon-mount; | ||
| wireguard = release.tests.containers-next.wireguard; | ||
| }; | ||
| } | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.