Update pve6_ha_container.sh

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

View File

@ -130,7 +130,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'."