From 8fd5aa655008dfed9f1cfcf7490b71cd13077f35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Wed, 25 Mar 2020 16:00:57 +0100 Subject: [PATCH] SSD seems to have a new name... --- scripts/windows_agent_bootstrap.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/windows_agent_bootstrap.ps1 b/scripts/windows_agent_bootstrap.ps1 index e695274..a14b1b5 100644 --- a/scripts/windows_agent_bootstrap.ps1 +++ b/scripts/windows_agent_bootstrap.ps1 @@ -16,7 +16,9 @@ # This script only needs to be run once per machine. Write-Host "Initializing local SSD..." -New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number +#New-Variable -Name diskid -Value (Get-Disk -FriendlyName "Google EphemeralDisk").Number +New-Variable -Name diskid -Value (Get-Disk -FriendlyName "NVMe nvme_card").Number + # TODO: check if machine has an SSD # TODO: only do this, if SSD is not yet partioned and formatted Initialize-Disk -Number $diskid