aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/run-firecracker-vm
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/run-firecracker-vm')
-rw-r--r--pkgs/run-firecracker-vm/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/run-firecracker-vm/default.nix b/pkgs/run-firecracker-vm/default.nix
index 3511dbb..44e9e7c 100644
--- a/pkgs/run-firecracker-vm/default.nix
+++ b/pkgs/run-firecracker-vm/default.nix
@@ -1,6 +1,6 @@
{ pkgs ? import <nixpkgs> {}
, kernelPackages ? pkgs.linuxPackages_latest
- # The CA of the host's egress proxy (see host.nix), if it's there.
+ # The CA of the host's egress proxy (see modules/host), if it's there.
, caCert ? "/var/lib/fcbr0-egress/ca.pem"
}:
let
@@ -150,7 +150,7 @@ let
networking.useDHCP = false;
networking.resolvconf.enable = false;
# The host resolves every name to itself and proxies TLS to allowed
- # names, decrypting some with certificates from its CA, see host.nix.
+ # names, decrypting some with certificates from its CA, see modules/host.
environment.etc."resolv.conf".text = "nameserver 172.16.0.1\n";
security.pki.certificateFiles =
lib.optional (builtins.pathExists caCert) (/. + caCert);
@@ -268,7 +268,7 @@ let
};
network-interfaces = [{
iface_id = "eth0";
- host_dev_name = "@TAP@"; # see host.nix
+ host_dev_name = "@TAP@"; # see modules/host
guest_mac = "@MAC@";
}];
drives = [{
@@ -347,7 +347,7 @@ pkgs.writeShellScriptBin "run-firecracker-vm" /* sh */ ''
tty_args="$tty_args systemd.tty.rows.ttyS0=$rows systemd.tty.columns.ttyS0=$cols"
fi
- # Take the first tap device (see host.nix) that no other VM holds. The
+ # Take the first tap device (see modules/host) that no other VM holds. The
# lock is held until the script exits. The MAC address is derived from
# the tap's number, so the VM gets the same DHCP lease every time.
tap=
@@ -360,7 +360,7 @@ pkgs.writeShellScriptBin "run-firecracker-vm" /* sh */ ''
exec {lock}>&-
done
if test -z "$tap"; then
- echo "$0: no free tap device fctap*, see host.nix" >&2
+ echo "$0: no free tap device fctap*, see modules/host" >&2
exit 1
fi
n=''${tap#fctap}