Merge "Correct the wrong rename in rhel element"
This commit is contained in:
commit
7489540b22
@ -29,7 +29,7 @@ else
|
|||||||
EACTION="rm -r $WORKING"
|
EACTION="rm -r $WORKING"
|
||||||
trap "$EACTION" EXIT
|
trap "$EACTION" EXIT
|
||||||
RAW_FILE=$(basename $BASE_IMAGE_FILE)
|
RAW_FILE=$(basename $BASE_IMAGE_FILE)
|
||||||
RAW_FILE=${RAW_FILE#.qcow2}.raw
|
RAW_FILE=${RAW_FILE%.qcow2}.raw
|
||||||
qemu-img convert -f qcow2 -O raw $DIB_IMAGE_CACHE/$BASE_IMAGE_FILE $WORKING/$RAW_FILE
|
qemu-img convert -f qcow2 -O raw $DIB_IMAGE_CACHE/$BASE_IMAGE_FILE $WORKING/$RAW_FILE
|
||||||
MAGIC_BIT=p1
|
MAGIC_BIT=p1
|
||||||
# NOTE: On RHEL, partprobe of /dev/loop0 does not create /dev/loop0p2,
|
# NOTE: On RHEL, partprobe of /dev/loop0 does not create /dev/loop0p2,
|
||||||
|
Loading…
Reference in New Issue
Block a user