nixpkgs/pkgs/tools/virtualization
Maximilian Bosch c957341ef5
nixos-container: allow setting custom local and host address
I have a nixops network where I deploy containers using the `container`
backend which uses `nixos-container` intenrally to deploy several
containers to a certain host.

During that time I removed and added new containers and while trying to
deploy those to a different host I realized that it isn't guaranteed
that each container gets the same IP address which is a problem as some
parts of the deployment need to know which container is using which IP
(i.e. to configure port forwarding on the host).

With this change you can specify the container's IP like this (and don't
have to use the arbitrarily used 10.233.0.0/16 subnet):

```
$ nixos-container create test --config-file test-container.nix \
    --local-address 10.235.1.2 --host-address 10.235.1.1
```
2019-04-22 18:13:45 +02:00
..
amazon-ecs-cli amazon-ecs-cli: 1.12.1 -> 1.13.1 (#58620) 2019-04-07 16:01:32 +02:00
awless awless: 0.0.14 -> 0.1.11 (#54121) 2019-02-24 02:37:30 +01:00
aws treewide: http -> https 2018-06-23 04:34:55 -07:00
awsebcli treewide: Fix overrides having wrong versions 2018-11-06 00:06:21 +01:00
cloud-init pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
cloudmonkey pkgs: refactor needless quoting of homepage meta attribute (#27809) 2017-08-01 22:03:30 +02:00
cri-tools cri-tools: add license 2018-08-15 21:55:04 +02:00
distrobuilder distrobuilder: 2018_06_29 -> 2018_10_04 2018-12-09 18:38:23 +02:00
ec2-ami-tools treewide: http -> https sources (#42676) 2018-06-28 20:43:35 +02:00
ec2-api-tools ec2-api-tools: Update to 1.7.5.1 2015-09-24 11:49:18 +02:00
euca2ools euca2ools: update homepage 2018-09-07 23:51:50 +02:00
google-compute-engine google-compute-engine: 20181206 -> 20190124 (#55312) 2019-02-06 11:02:31 +00:00
google-compute-engine-oslogin treewide: use ${stdenv.shell} instead of /bin/sh where possible 2019-01-16 20:37:15 +01:00
govc govc: 0.16.0 -> 0.20.0 (#58986) 2019-04-08 12:26:39 +02:00
linode-cli buildPerlPackage -> perlPackages.buildPerlPackage 2018-10-14 09:10:41 +02:00
marathonctl marathonctl: init at 2017-03-06 2017-03-17 23:10:27 +01:00
mininet mininet: init at 2.3.0d4 (#41261) 2018-11-21 23:33:10 +00:00
nixos-container nixos-container: allow setting custom local and host address 2019-04-22 18:13:45 +02:00
rootlesskit feat(roolesskit): init at 0.3.0-alpha.2 2019-02-19 22:16:11 +01:00
udocker udocker: Fix build (#57002) 2019-03-07 22:55:12 +01:00
xe-guest-utilities treewide: fix derivation names 2018-05-28 05:59:57 -07:00