Update podman_ha_container.sh

This commit is contained in:
tteckster 2022-03-13 15:47:35 -04:00 committed by GitHub
parent c56beab80d
commit 942d828561
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ ROOTFS=${STORAGE}:${DISK_REF-}${DISK}
echo -e "${CM}${CL} \r" echo -e "${CM}${CL} \r"
echo -en "${GN} Creating LXC Container... " echo -en "${GN} Creating LXC Container... "
DISK_SIZE=8G DISK_SIZE=16G
pvesm alloc $STORAGE $CTID $DISK $DISK_SIZE --format ${DISK_FORMAT:-raw} >/dev/null pvesm alloc $STORAGE $CTID $DISK $DISK_SIZE --format ${DISK_FORMAT:-raw} >/dev/null
if [ "$STORAGE_TYPE" == "zfspool" ]; then if [ "$STORAGE_TYPE" == "zfspool" ]; then
warn "Some containers may not work properly due to ZFS not supporting 'fallocate'." warn "Some containers may not work properly due to ZFS not supporting 'fallocate'."