From 8ed3ab50eab1ebfe7f1f295d03b395098ea09de6 Mon Sep 17 00:00:00 2001 From: Evgeny Egorochkin Date: Wed, 20 May 2015 13:22:20 +0300 Subject: [PATCH] azure-image: common: add sg3_utils --- nixos/modules/virtualisation/azure-common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;