rename file to remove the "-sda" suffix
This commit is contained in:
parent
f355fead8a
commit
e128db8d4a
@ -22,6 +22,7 @@ appliance-creator \
|
|||||||
1> Rocky-9-aarch64-minimal.stdout.log \
|
1> Rocky-9-aarch64-minimal.stdout.log \
|
||||||
2> Rocky-9-aarch64-minimal.stderr.log
|
2> Rocky-9-aarch64-minimal.stderr.log
|
||||||
|
|
||||||
if [[ -f "${APPLIANCE_NAME}*" ]]; then
|
if [[ -f "${APPLIANCE_NAME}-sda.raw" ]]; then
|
||||||
chown "${REAL_USER}:${REAL_USER}" "${APPLIANCE_NAME}*"
|
mv "${APPLIANCE_NAME}-sda.raw" "${APPLIANCE_NAME}.raw"
|
||||||
|
chown -v "${REAL_USER}:${REAL_USER}" "${APPLIANCE_NAME}*"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user