Update pve7_ha_container.sh

This commit is contained in:
tteck 2021-08-20 08:28:24 -04:00 committed by GitHub
parent 383e000932
commit ccb2583be5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ ROOTFS=${STORAGE}:${DISK_REF-}${DISK}
# Create LXC # Create LXC
msg "Creating LXC container..." msg "Creating LXC container..."
DISK_SIZE=32G 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'."