X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fguestfs-internal.h;h=b5a705372655899bddc86df1b293e8f49bec126e;hb=refs%2Ftags%2F1.11.3;hp=1730f6886602963d59fbe7a0dfcd891e742c4dfa;hpb=a986e8dadb0c70634f6d1d89dd3e7bb5d9af3078;p=libguestfs.git diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h index 1730f68..b5a7053 100644 --- a/src/guestfs-internal.h +++ b/src/guestfs-internal.h @@ -82,8 +82,12 @@ */ #define MAX_REGISTRY_SIZE (100 * 1000 * 1000) -/* Maximum RPM or dpkg database we will download to /tmp. */ -#define MAX_PKG_DB_SIZE (10 * 1000 * 1000) +/* Maximum RPM or dpkg database we will download to /tmp. RPM + * 'Packages' database can get very large: 70 MB is roughly the + * standard size for a new Fedora install, and after lots of package + * installation/removal I have seen well over 100 MB databases. + */ +#define MAX_PKG_DB_SIZE (300 * 1000 * 1000) /* Network configuration of the appliance. Note these addresses are * only meaningful within the context of the running appliance. QEMU @@ -237,6 +241,8 @@ enum inspect_os_distro { OS_DISTRO_LINUX_MINT, OS_DISTRO_MANDRIVA, OS_DISTRO_SLACKWARE, + OS_DISTRO_CENTOS, + OS_DISTRO_SCIENTIFIC_LINUX, }; enum inspect_os_package_format {