summary refs log tree commit diff
path: root/nixos/modules/virtualisation/azure-common.nix
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom@yandex.ru>2015-05-20 13:22:20 +0300
committerEvgeny Egorochkin <phreedom@yandex.ru>2015-05-20 13:25:01 +0300
commit8ed3ab50eab1ebfe7f1f295d03b395098ea09de6 (patch)
tree898f8f503916c6dd822541f539cd1ab595ce1ee8 /nixos/modules/virtualisation/azure-common.nix
parentd6a8bdcdc62087b279f4d1e3b4b6849413063cc9 (diff)
downloadnixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar.gz
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar.bz2
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar.lz
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar.xz
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.tar.zst
nixlib-8ed3ab50eab1ebfe7f1f295d03b395098ea09de6.zip
azure-image: common: add sg3_utils
Diffstat (limited to 'nixos/modules/virtualisation/azure-common.nix')
-rw-r--r--nixos/modules/virtualisation/azure-common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/virtualisation/azure-common.nix b/nixos/modules/virtualisation/azure-common.nix
index 4fc7a085f868..47022c6887c3 100644
--- a/nixos/modules/virtualisation/azure-common.nix
+++ b/nixos/modules/virtualisation/azure-common.nix
@@ -30,7 +30,8 @@ with lib;
   networking.hostName = mkDefault "";
 
   # Always include cryptsetup so that NixOps can use it.
-  environment.systemPackages = [ pkgs.cryptsetup ];
+  # sg_scan is needed to finalize disk removal on older kernels
+  environment.systemPackages = [ pkgs.cryptsetup pkgs.sg3_utils ];
 
   networking.usePredictableInterfaceNames = false;