forked from kalipso/infrastructure
[initssh] load all zfs keys
This commit is contained in:
@@ -56,11 +56,11 @@ in
|
|||||||
path = with pkgs; [ zfs ];
|
path = with pkgs; [ zfs ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
script = ''
|
script = ''
|
||||||
echo "systemctl default" >> /var/empty/.profile
|
echo "zfs load-key -a; killall zfs; systemctl default" >> /var/empty/.profile
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
kernelParams = [ "ip=::::${hostName}-initrd::dhcp" ];
|
kernelParams = [ "ip=::::${hostName}-initrd::dhcp" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user