Skip to content

Commit

Permalink
Merge pull request #73 from mrtwister76/master
Browse files Browse the repository at this point in the history
FIX: Issue #68
  • Loading branch information
franklupo committed Sep 27, 2020
2 parents 873bbe0 + bda9722 commit 82c2970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eve4pve-barc
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare -g endts

declare -r renum='^[0-9]+$'
declare -r retime='([0-9]+)([d,w])$'
declare -r reimg='^.*\/([0-9]+)([a-zA-Z0-9_-]+)\.(.*)\.(diff|img).?(.*)?'
declare -r reimg='^([0-9]+)([a-zA-Z0-9_-]+)\.(.*)\.(diff|img).?(.*)?'
declare -r redateex='^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})$'

function map_vmids_to_host(){
Expand Down Expand Up @@ -566,7 +566,7 @@ function get_disks_from_config(){
echo "$line"
done < "$file_config" | \
grep -P '^(?:((?:virtio|ide|scsi|sata|mp|efidisk)\d+)|rootfs): ' | \
grep -v -P 'cdrom|none' | \
grep -v -P '^(?!.*cloudinit).*media=cdrom.*$' | \
grep -v -P 'backup=0' | \
awk '{ split($0,a,","); split(a[1],b," "); print b[2]}')

Expand Down

0 comments on commit 82c2970

Please sign in to comment.