User Tools

Site Tools


people:glen:vm-info

This is an old revision of the document!


PLD Linux VM images

I'm creating regularily (with Jenkins CI and Veewee) Vagrant base images (.box).

The .box files are importable by VirtualBox if renamed to OVA (Open Virtualization Archive) extension (.ova), The convience symlinks are on ftp as well.

To convert images to qemu qcow2 format, extract .box file (it's gnu tar format) and execute:

$ tar xf pld64.box
$ qemu-img convert -c -O qcow2 box-disk1.vmdk pld.qcow2
$ qemu-system-x86_64 -drive if=virtio,file=pld.qcow2

If you get error like qemu-img: 'image' uses a vmdk feature which is not supported by this qemu version: VMDK version 3, you can convert it with VBoxManage and try again:

VBoxManage clonehd box-disk1.vmdk --format VMDK box-disk2.vmdk

The problem is worked on, but not yet in qemu as of 1.7.0.

Grow a disk

The VM contains 80GiB disk in LVM PV, default LVM allocation is rather minimal to get base packages installed and may be small when you actually copy files there.

To increase rootfs by 2GiB:

poldek -u xfsprogs
ldconfig # due rpm5 bug
lvextend --size=+2G /dev/sys/rootfs
xfs_growfs /

Packages listing

Packages listing of the vm image. This is base image, thus containing only packages that you can ssh in

Full list of packages in 20141009 release (total of 135):

Applications/Archiving
   cpio                         2.11-3             GNU cpio archiving program
   gzip                         1.6-1              GNU gzip file compression
   tar                          1.28-1             A GNU file archiving program
Applications/Editors/Vim
   vim                          7.4.436-2          Vi IMproved - a Vi clone
Applications/File
   findutils                    4.4.2-1            GNU Find Utilities (find, xargs)
   which                        2.20-1             Displays where a particular program in your path is located
Applications/Networking
   openssh-clients              6.6p1-4            OpenSSH Secure Shell protocol clients
   openssh                      6.6p1-4            OpenSSH free Secure Shell (SSH) implementation
Applications/Shells
   bash                         4.3.30-1           GNU Bourne Again Shell (bash)
   mksh                         50b-1              MirBSD Korn Shell
Applications/System
   acl                          2.2.51-1           Command and library for manipulating access control lists
   attr                         2.4.46-1           Utility for managing filesystem extended attributes
   blockdev                     2.25.1-1           Support for blockdev
   chkconfig                    1.3.58-1           Updates and queries runlevel information for system services
   coreutils                    8.22-2             GNU Core-utils - basic command line utilities
   cracklib-dicts               2.8.18-3           Standard dictionaries (/usr/share/dict/words)
   fsck                         2.25.1-1           Check and repair a Linux file system
   geninitrd                    12736-3            Creates an initial ramdisk image for preloading modules
   glibc-misc                   2.20-2             Utilities and data used by glibc
   kmod                         18-1               Linux kernel module handling
   ldconfig                     2.20-2             Create shared library cache and maintains symlinks
   libfuse                      2.9.3-2            Filesystem in Userspace
   login                        2.25.1-1           login is used when signing onto a system
   lvm2                         2.02.105-1         The new version of Logical Volume Manager for Linux
   mingetty                     1.08-1             A compact, console-only getty
   mount                        2.25.1-1           Programs for mounting and unmounting filesystems
   okas                         1.6-108            glen's (and others) vision of nice linux setup
   pci-database                 0.20-1             PCI hardware identification data
   poldek                       0.30.1-1           RPM packages management helper tool
   procps                       3.3.3-2            Utilities for monitoring your system and processes on your system
   psmisc                       22.20-1            Utilities for managing processes on your system
   sudo                         1.8.10p3-1         Allows command execution as root for specified users
   tmpwatch                     2.11-7             A utility for removing files based on when they were last accessed
   util-linux                   2.25.1-1           Collection of basic system utilities for Linux
   v86d                         0.1.10-3           uvesafb userspace helper that runs x86 code in an emulated environment
Applications/Text
   grep                         2.20-1             GNU grep Utilities
   lesspipe                     1.55-2             Input preprocessor for less
   less                         451-1              Text file browser -- less is more
   mawk                         1.3.4-0.20131226.1 An interpreter for the awk programming language
   sed                          4.2.2-1            A GNU stream text editor
Base/Kernel
   kernel-3.10-virtualbox-guest 4.3.16-1@3.10.55_1 VirtualBox kernel modules for Linux Guest
   kernel-3.10                  3.10.55-1          The Linux kernel (the core of the Linux operating system)
Base
   FHS                          2.3-35             Basic FHS 2.3 filesystem layout
   SysVinit-tools               2.88-17            Tools used for process and utmp management
   SysVinit                     2.88-17            System V initialization program
   VirtualBox-guest             4.3.16-1           VirtualBox Guest tools
   busybox-initrd               1.22.1-2           Static busybox for initrd
   device-mapper                2.02.105-1         Userspace support for the device-mapper
   filesystem                   4.0-32             Common directories
   grub2-platform-pc            2.02-0.beta2.2     PC BIOS platform support for GRUB
   grub2                        2.02-0.beta2.2     GRand Unified Bootloader
   hostname                     3.15-1             Utility to set/show the host name or domain name
   issue                        3.0-4              PLD Linux prelogin message and identification file
   libutempter                  1.1.6-4            Privileged helper for utmp updates
   pam-pam_userdb               1.1.8-4            PAM module - authenticate against db database
   pam                          1.1.8-4            Pluggable Authentication Modules: modular, incremental authentication
   pld-release                  3.0-5              PLD Linux release file
   pwdutils                     3.2.19-2           Utilities to manage the passwd and shadow user information
   rc-scripts                   0.4.12-1           inittab and /etc/rc.d scripts
   rpm-base                     5.4.14-5           RPM base package - scripts used by rpm packages themselves
   rpm-whiteout                 1.41-3             PLD Linux RPM macros dealing with loop errors
   rpm                          5.4.14-5           RPM Package Manager
   setup                        2.9.0-1            Simple setup files
   systemd-units                208-11             Configuration files, directories and installation tool for systemd
   tzdata                       2014g-1            Timezone data
   udev-core                    208-11             A userspace implementation of devfs - core part of udev
   udev                         208-11             Device manager for the Linux 2.6 kernel series
Daemons
   gpm                          1.20.6-16          General Purpose Mouse support for Linux
Development/Building
   vagrant-guest                1.4.3-2            Vagrant guest
Development/Tools
   gettext                      0.19.2-1           Utilties for program national language support
Libraries
   audit-libs                   2.3.7-1            Dynamic audit libraries
   beecrypt                     4.2.1-4            The BeeCrypt Cryptography Library
   bzip2-libs                   1.0.6-1            libbz2 library
   ca-certificates              20140325-1         Common CA Certificates PEM files
   cracklib                     2.9.0-1            Password checking library
   cyrus-sasl-libs              2.1.26-3           cyrus-sasl library itself
   cyrus-sasl                   2.1.26-3           The SASL library API for the Cyrus mail system
   db5.2-sql                    5.2.42.0-3         SQL layer for Berkeley database library
   db5.2                        5.2.42.0-3         Berkeley DB database library for C
   db5.3                        5.3.28.0-2         Berkeley DB database library for C
   dbus-libs                    1.8.8-1            D-BUS library
   elfutils-libelf              0.159-1            Library to read and write ELF files
   gdbm                         1.11-1             GNU database library for C
   glibc-libcrypt               2.20-2             glibc library for crypt(3)
   glibc                        2.20-2             GNU libc
   gmp                          6.0.0-1            GNU arbitrary precision library
   gpm-libs                     1.20.6-16          GPM libraries
   heimdal-libs                 1.5.3-4            Heimdal shared libraries
   iptables-libs                1.4.21-2           iptables libraries
   kmod-libs                    18-1               Linux kernel module handling library
   libblkid                     2.25.1-1           Library to handle device identification and token extraction
   libcap-libs                  2.24-2             libcap library
   libcap-ng                    0.7.4-1            Next Generation of POSIX capabilities library
   libcom_err                   1.42.6-1           A Common Error Description Library for unices
   libedit                      3.1-1.20140213.1   Editline Library
   libgcrypt                    1.6.2-1            Cryptographic library based on the code from GnuPG
   libgomp                      4.8.3-1            GNU OpenMP library
   libgpg-error                 1.16-1             Library libgpg-error
   libmagic                     5.19-2             libmagic library
   libmount                     2.25.1-1           Library to handle mounting-related tasks
   libnscd                      2.0.2-3            Interface to communicate with the nscd daemon
   libselinux                   2.3-3              SELinux library and simple utilities
   libsemanage                  2.3-1              An interface for SELinux management
   libsepol                     2.3-1              SELinux binary policy manipulation library
   libsmartcols                 2.25.1-1           Library to handle tables and trees
   libtirpc                     0.2.4-1            Transport Independent RPC Library
   libunwind                    1.1-1              libunwind - a (mostly) platform-independent unwind API
   libuuid                      2.25.1-1           Library for accessing and manipulating UUID
   libwrap-libs                 7.6-46             Security wrapper access control library
   libxcrypt                    3.0.2-2            Crypt Library for DES, MD5, and Blowfish
   libxml2                      2.9.1-1            libXML library version 2
   linux-atm-libs               2.5.2-1            ATM on Linux - shared library
   ncurses                      5.9.20140329-2     curses terminal control library
   nss-softokn-freebl           3.17-1             Freebl library for the Network Security Services
   openldap-libs                2.4.39-2           LDAP shared libraries
   openssl                      1.0.1i-1           OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
   ossp-uuid                    1.6.2-23           Universally Unique Identifier library
   pam-libs                     1.1.8-4            PAM libraries
   pcre                         8.35-1             Perl-Compatible Regular Expression library
   poldek-libs                  0.30.1-1           poldek libraries
   popt                         1.16-2             C library for parsing command line parameters
   readline                     6.3.8-1            Library for reading lines from a terminal
   rpm-lib                      5.4.14-5           RPMs library
   sqlite3                      3.8.5.0-1          SQLite library
   systemd-libs                 208-11             Shared systemd libraries
   udev-libs                    208-11             Shared library to access udev device information
   ustr                         1.0.4-2            String library with very low memory overhead
   xz-libs                      5.1.3-1            LZMA shared library
   zlib                         1.2.8-1            Library for compression and decompression
Networking/Admin
   ethtool                      3.15-1             Utility to control ethernet cards
   iproute2                     3.16.0-1           Advanced IP routing and network device configuration tools
   iputils-arping               s20121221-1        arping utility
Networking/Daemons
   dhcpcd                       6.4.3-1            DHCP Client Daemon
   openssh-server               6.6p1-4            OpenSSH Secure Shell protocol server (sshd)
Public Keys
   gpg-pubkey                   e4f1bc2d-47b351f0  gpg(RSApub (PLD Linux Distribution 3.0 (Th)) <th-admin@pld-linux.org>)
people/glen/vm-info.1417788344.txt.gz · Last modified: 2014-12-05 15:05 by glen

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS PLD Linux Driven by DokuWiki