Open nh2 opened 6 years ago
The root problem lies on nixops-keys.service
, and containers not setting up networking until successful boot.
This "works":
nixops deploy --allow-reboot --include database & { sleep 5; nixos-container run databas -- touch /run/keys/done; }
When using
deployment.targetEnv = "container";
,nixops reboot
doesn't work. It just hangs.Example: