Skip to content

Commit

Permalink
[dist] don't use ram disks for LVM
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschroeter committed May 3, 2016
1 parent bda7e15 commit 8a81234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/obsstoragesetup
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ case "$1" in

# Find unpartitioned disks and create LVM partition on them
for disk in `hwinfo --disk | grep "Device File:" |\
cut -f2 -d: | cut -f2 -d" "`;do
| grep -v /dev/ram | cut -f2 -d: | cut -f2 -d" "`;do
count=0
used=
for i in `sfdisk -l $disk 2>/dev/null | tr -d '*' | grep ^/ |\
Expand Down

0 comments on commit 8a81234

Please sign in to comment.