OnWorks favicon

adt-buildvm-ubuntu-cloud - Online in the Cloud

Run adt-buildvm-ubuntu-cloud in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command adt-buildvm-ubuntu-cloud that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



adt-buildvm-ubuntu-cloud - Create Ubuntu cloud image based VM for adt-virt-qemu


adt-buildvm-ubuntu-cloud [options]


adt-buildvm-ubuntu-cloud downloads an Ubuntu cloud image and configures it for
autopkgtest's QEMU runner (adt-virt-qemu):

* Resize the image to 6 GB (by default, you can change this with an option), which ought
to be sufficient for most tests.

* Create an user "ubuntu" with password "ubuntu".

* Add apt sources for "restricted" and "multiverse" components.

* Create an init.d script to start a root shell on ttyS1 at boot, so that adt-virt-qemu
can be used without additional arguments or logging in through ttyS0.

You can select release, architecture, apt proxy, etc. with options. The defaults are
aimed at testing the development series of the architecture of your host system.


-a arch | --arch=arch
Ubuntu architecture name, e. g. "i386" or "amd64". Default is the host system

-r codename | --release=codename
Ubuntu release code name, e. g. "trusty". Default is the current development series
(this needs python-distro-info installed).

-m URL | --mirror=URL
Mirror for apt (default: http://archive.ubuntu.com/ubuntu).

-p URL | --proxy=URL
Proxy for apt. If apt-cacher-ng is running on the local host, the VM will
automatically use this (i. e. use otherwise there is no

URL from where to download the cloud images (default: http://cloud-

-s DISK_SIZE | --disk-size=DISK_SIZE
Grow downloaded image (which have a default size of 2GB) by this size (default: 4G,
i. e. the image will be 6GB big in total).

-o DIR | --output-dir=DIR
Output directory for generated image (default: current directory).

-q command | --qemu-command=command
QEMU command to run. This defaults to the qemu-system-* that matches your system

-v | --verbose
Show VM guest and cloud-init output.

Do not run apt-get dist-upgrade during initialization.

Run shell command in the VM after the setup.

Use a custom cloud-init metadata file to initialize the cloud image VM.

Use a custom cloud-init userdata file to initialize the cloud image VM.

Timeout for cloud-init. Default is 3600 s.


If you use lots of options, you can put parts of, or the whole command line into a text
file, with one line per option. E. g. you can create a file trusty-i386.cfg with contents


and then run

adt-buildvm-ubuntu-cloud @trusty-i386.cfg

The contents of the configuration file will be expanded in-place as if you would have
given its contents on the command line. Please ensure that you don't place spaces between
short options and their values, they would become a part of the argument value.

Use adt-buildvm-ubuntu-cloud online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    Download OpenPDF - Fork of iText
  • 2
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 3
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 4
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    Download D3.js
  • 5
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    It ha...
    Download Shadowsocks
  • 6
    GLPI Themes
    GLPI Themes
    Download release at
    Color themes for GLPI 0.84 and 0.85 New
    Modifications for GLPI This is an
    application that c...
    Download GLPI Themes
  • 7
    SMPlayer is a free media player for
    Windows and Linux with built-in codecs
    that can also play YouTube videos. One
    of the most interesting features of
    Download SMPlayer
  • More »

Linux commands