Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
nixos-container: allow setting custom local and host address #60029
Motivation for this change
I have a nixops network where I deploy containers using the
During that time I removed and added new containers and while trying to
With this change you can specify the container's IP like this (and don't
Apr 22, 2019
This pull request has been mentioned on Nix community. There might be relevant details there:
danbst left a comment
Ideally all NixOS container options should be allowed to specify on command line. This is small step towards that, hence
I'm not very experienced in Perl, so I can't comment on actual implementation. If it works for you, then probably this is fine.
Full ack, in fact I'm planning to do this in the long term (and fix the container backend of nixops accordingly).
I'm not sure how far I'll go then, but this was (at least for me) the biggest issue I had and I was motivated to fix it to get a bit more familiar the the code :)