feat: add boot staging configuration and automation utility scripts
This commit is contained in:
6
scripts/detect_sd_drive.py
Normal file
6
scripts/detect_sd_drive.py
Normal file
@@ -0,0 +1,6 @@
|
||||
import subprocess, json
|
||||
|
||||
cmd = ["powershell", "-NoProfile", "-Command", "Get-Partition | Select-Object DiskNumber, PartitionNumber, DriveLetter, Size, Type | ConvertTo-Json"]
|
||||
res = subprocess.run(cmd, capture_output=True, text=True)
|
||||
print(res.stdout)
|
||||
|
||||
Reference in New Issue
Block a user