add .
This commit is contained in:
parent
cb668f90f4
commit
8e4fc931a2
2 changed files with 1 additions and 5 deletions
|
|
@ -23,10 +23,6 @@ in
|
||||||
boot.kernelModules = [ "fuse" ];
|
boot.kernelModules = [ "fuse" ];
|
||||||
programs.fuse.userAllowOther = true;
|
programs.fuse.userAllowOther = true;
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
KERNEL=="fuse", MODE="0666", OWNER="root", GROUP="root"
|
|
||||||
'';
|
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
6443 # k3s, api server
|
6443 # k3s, api server
|
||||||
2379 # k3s, etcd clients
|
2379 # k3s, etcd clients
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ pkgs.dockerTools.buildLayeredImage {
|
||||||
mkdir -p ./tmp
|
mkdir -p ./tmp
|
||||||
chmod 777 ./tmp
|
chmod 777 ./tmp
|
||||||
|
|
||||||
ln -sfn /proc/self/mounts /etc/mtab
|
ln -sfn /proc/self/mounts ./etc/mtab
|
||||||
|
|
||||||
cat <<EOF > ./etc/passwd
|
cat <<EOF > ./etc/passwd
|
||||||
root:x:0:0:root:/root:/bin/sh
|
root:x:0:0:root:/root:/bin/sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue