at 15.09-beta 482 B view raw
1#! /bin/sh -e 2 3BUCKET_NAME=${BUCKET_NAME:-nixos} 4export NIX_PATH=nixpkgs=../../../.. 5export NIXOS_CONFIG=$(dirname $(readlink -f $0))/../../../modules/virtualisation/azure-image.nix 6export TIMESTAMP=$(date +%Y%m%d%H%M) 7 8nix-build '<nixpkgs/nixos>' \ 9 -A config.system.build.azureImage --argstr system x86_64-linux -o azure --option extra-binary-caches http://hydra.nixos.org -j 10 10 11azure vm image create nixos-test --location "West Europe" --md5-skip -v --os Linux azure/disk.vhd