mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Update hdd_image.sh
This commit is contained in:
parent
fc8a96dc7d
commit
81b4ecf02d
@ -35,7 +35,7 @@ function hassio_hdd_image() {
|
||||
local loop_dev=$(losetup -f)
|
||||
|
||||
# Write new image & GPT
|
||||
dd if=/dev/zero of=${hdd_img} bs={IMAGE_SIZE} count=1
|
||||
dd if=/dev/zero of=${hdd_img} bs=${IMAGE_SIZE} count=1
|
||||
sgdisk -o ${hdd_img}
|
||||
|
||||
# Partition layout
|
||||
|
Loading…
x
Reference in New Issue
Block a user