This repository has been archived by the owner on Jan 30, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set nullglob in tools/partition-disks
So that this script can be run on LXC machines that don't have any "SCSI disk" devices. Otherwise the glob doesn't get expanded and we try to run `parted … /dev/sd?`. Example: vagrant@postgresql-slave-1:~$ for disk in /dev/sd?; do echo $disk; done /dev/sd? vagrant@postgresql-slave-1:~$ shopt -s nullglob vagrant@postgresql-slave-1:~$ for disk in /dev/sd?; do echo $disk; done
- Loading branch information