mirror of
https://github.com/YunoHost-Apps/garage_ynh.git
synced 2024-09-03 18:36:32 +02:00
fix
This commit is contained in:
parent
81776945bb
commit
928edeface
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ then
|
|||
qemu-nbd --connect /dev/nbd$i $datadir/garage_data.qcow2
|
||||
if [[ "$format" = "true" ]]
|
||||
then
|
||||
mkfs.ext4 /dev/nbd$i > /dev/null
|
||||
echo "formatting /dev/nbd$i"
|
||||
mkfs.ext4 /dev/nbd$i
|
||||
fi
|
||||
mkdir -p $datadir/data
|
||||
mount /dev/nbd$i $datadir/data/
|
||||
|
|
Loading…
Add table
Reference in a new issue