run_utah_tests.py manual page

Synopsis

run_utah_tests.py [options] [runlist ...]

Description

Provision a machine and run a runlist there.

Options

-h, --help show this help message and exit
-m MACHINETYPE, --machinetype MACHINETYPE
 Type of machine to provision (physical, virtual) (Default is virtual)
-v VARIANT, --variant VARIANT
 Variant of architecture, i.e., armel, armhf
--skip-provisioning
 Reuse a system that is already provisioned (name argument must be passed)
-s SERIES, --series SERIES
 Series to use for installation (lucid, precise, quantal, raring, saucy) (Default is raring)
-t TYPE, --type TYPE
 Install type to use for installation (desktop, server, mini, alternate) (Default is mini)
-a ARCH, --arch ARCH
 Architecture to use for installation (i386, amd64, arm) (Default is amd64)
-n, --no-destroy
 Preserve VM after tests have run
-d, --debug Enable debug logging
-j, --json Enable json logging (default is YAML)
-f FILES, --files FILES
 File or directory to copy from test system
-o OUTDIR, --outdir OUTDIR
 Directory to store locally copied files (Default is /var/log/utah/machine-name)
--dumplogs Write client output logs to standard out
--outputpreseed
 Copy preseed to logs directory and list as log file in output
-i IMAGE, --image IMAGE
 Image/ISO file to use for installation
-p PRESEED, --preseed PRESEED
 Preseed file to use for installation
-b BOOT, --boot BOOT
 Boot arguments for initial installation
--rewrite <all,minimal,casperonly,none>
 Set level of automatic configuration rewriting (Default is all)
-k KERNEL, --kernel KERNEL
 Kernel file to use for installation
-r INITRD, --initrd INITRD
 InitRD file to use for installation
--name NAME Name of machine to provision
-e EMULATOR, --emulator EMULATOR
 Emulator to use (kvm and qemu are supported, kvm will be favored if available)
-x XML, --xml XML
 XML VM definition file (Default is /etc/utah/default- vm.xml)
-g GIGABYTES, --gigabytes GIGABYTES
 Size in gigabytes of virtual disk, specify more than once for multiple disks (Default is [8])
--diskbus DISKBUS
 Disk bus to use for customvm installation (virtio, sata, ide) (Default is virtio)
-l LOGPATH, --logpath LOGPATH
 Directory used to write log files to

Examples

Provision a VM using a precise server image with i386 architecture and run the given runlist

run_utah_tests.py -s precise -t server -a i386 \
/usr/share/utah/client/examples/master.run
Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.