feat: Add KVM flag

This commit is contained in:
Kroese 2023-12-16 04:02:11 +01:00 committed by GitHub
parent db72acfc4f
commit 3812101366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,13 +11,14 @@ trap 'error "Status $? while: $BASH_COMMAND (line $LINENO/$BASH_LINENO)"' ERR
# Docker environment variables # Docker environment variables
: ${GPU:='N'} # Enable GPU passthrough : ${GPU:='N'} # Disable GPU passthrough
: ${DEBUG:='N'} # Enable debugging mode : ${KVM:='Y'} # Enable KVM acceleration
: ${DEBUG:='N'} # Disable debugging mode
: ${COUNTRY:=''} # Country code for mirror : ${COUNTRY:=''} # Country code for mirror
: ${CONSOLE:='N'} # Start in console mode : ${CONSOLE:='N'} # Disable console mode
: ${ALLOCATE:='Y'} # Preallocate diskspace : ${ALLOCATE:='Y'} # Preallocate diskspace
: ${RAM_SIZE:='1G'} # Maximum RAM amount : ${RAM_SIZE:='1G'} # Maximum RAM amount
: ${DISK_SIZE:='16G'} # Initial datadisk size : ${DISK_SIZE:='16G'} # Initial data disk size
: ${ARGUMENTS:=''} # Extra QEMU parameters : ${ARGUMENTS:=''} # Extra QEMU parameters
: ${CPU_CORES:='1'} # Amount of CPU cores : ${CPU_CORES:='1'} # Amount of CPU cores
: ${CPU_MODEL:='host'} # CPU model to emulate : ${CPU_MODEL:='host'} # CPU model to emulate