packet: Use mdadm parameters in documented order
The mdadm command uses documentation says the format is this:
mdadm [mode] <raiddevice> [options] <component-devices>
So, just move flags to use that format.
@@ -83,7 +83,7 @@ storage:
extra_opts="--force"
fi
- mdadm --create $$extra_opts --verbose /dev/md/node-local-storage --level=0 --raid-devices="$${count}" $${disks}
+ mdadm --create /dev/md/node-local-storage $$extra_opts --verbose --level=0 --raid-devices="$${count}" $${disks}
cat /proc/mdstat
mkfs.ext4 /dev/md/node-local-storage
}
