EnglishFrenchSpanish

OnWorks favicon

oneimage - Online in the Cloud

Run oneimage in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command oneimage 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

PROGRAM:

NAME


oneimage - manages OpenNebula images

SYNOPSIS


oneimage command [args] [options]

OPTIONS


-d, --datastore id|name Selects the datastore
--name name Name of the new image
--description description Description for the new Image
--type type Type of the new Image: OS, CDROM, DATABLOCK,
KERNEL, RAMDISK, CONTEXT
--persistent Tells if the image will be persistent
--prefix prefix Device prefix for the disk (eg. hd, sd, xvd or
vd)
--target target Device the disk will be attached to
--path path Path of the image file
--driver driver Driver to use image (raw, qcow2, tap:aio:...)
--disk_type disk_type Type of the image (BLOCK, CDROM, RBD or FILE)
--source source Source to be used. Useful for not file-based
images
--size size Size in MB. Used for DATABLOCK type or SOURCE
based images.
--fstype fstype Type of file system to be built. This can be any
value understood by mkfs unix command.
--dry Just print the template
-a, --append Append new attributes to the current template
-l, --list x,y,z Selects columns to display with list command
-d, --delay x Sets the delay in seconds for top command
-f, --filter x,y,z Filter data. An array is specified with
column=value pairs.
--csv Write table in csv format
-x, --xml Show the resource in xml format
-n, --numeric Do not translate user and group IDs
--describe Describe list columns
-v, --verbose Verbose mode
-h, --help Show this message
-V, --version Show version and copyright information
--user name User name used to connect to OpenNebula
--password password Password to authenticate with OpenNebula
--endpoint endpoint URL of OpenNebula xmlrpc frontend

COMMANDS


· create [file] Creates a new Image Examples:

- using a template description file:

oneimage create -d default centOS.tmpl

- new image "arch" using a path of type centOS:

oneimage create -d default --name arch --path /tmp/arch.img

- new persistent image, OS type and qcow2 format:

oneimage create -d 1 --name ubuntu --path /tmp/ubuntu.qcow2 \
--prefix sd --type OS --driver qcow2 \
--description "A OS plain installation"

- a datablock image of 400MB:

oneimage create -d 1 --name data --type DATABLOCK --size 400 \
--fstype ext2
valid options: datastore, name, description, type, persistent, prefix, target, path, driver, disk_type, source, size, fstype, dry

· clone imageid name Creates a new Image from an existing one valid options: datastore

· delete range|imageid_list Deletes the given Image

· persistent range|imageid_list Makes the given Image persistent. A persistent Image
saves the changes made to the contents after the VM instance is shutdown (or in real
time if a shared FS is used). Persistent Images can be used by only one VM instance at
a time.

· nonpersistent range|imageid_list Makes the given Image non persistent. See ´oneimage
persistent´

· update imageid [file] Update the template contents. If a path is not provided the
editor will be launched to modify the current content. valid options: append

· enable range|imageid_list Enables the given Image

· chtype range|imageid_list type Changes the Image´s type

· disable range|imageid_list Disables the given Image

· chgrp range|imageid_list groupid Changes the Image group

· chown range|imageid_list userid [groupid] Changes the Image owner and group

· chmod range|imageid_list octet Changes the Image permissions

· rename imageid name Renames the Image

· list [filterflag] Lists Images in the pool valid options: list, delay, filter, csv,
xml, numeric, describe

· show imageid Shows information for the given Image valid options: xml

· top [filterflag] Lists Images continuously valid options: list, delay, filter, csv,
xml, numeric, describe

ARGUMENT FORMATS


· file Path to a file

· range List of id´s in the form 1,8..15

· text String

· groupid OpenNebula GROUP name or id

· userid OpenNebula USER name or id

· imageid OpenNebula IMAGE name or id

· imageid_list Comma-separated list of OpenNebula IMAGE names or ids

· filterflag a, all all the known IMAGEs m, mine the IMAGE belonging to the user in
ONE_AUTH g, group ´mine´ plus the IMAGE belonging to the groups the user is member of
uid IMAGE of the user identified by this uid user IMAGE of the user identified by the
username

· type Image type: OS, CDROM, DATABLOCK, KERNEL, RAMDISK, CONTEXT

Use oneimage online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    OfficeFloor
    OfficeFloor
    OfficeFloor provides inversion of
    coupling control, with its: - dependency
    injection - continuation injection -
    thread injection For more information
    visit the...
    Download OfficeFloor
  • 2
    DivKit
    DivKit
    DivKit is an open source Server-Driven
    UI (SDUI) framework. It allows you to
    roll out server-sourced updates to
    different app versions. Also, it can be
    used fo...
    Download DivKit
  • 3
    subconverter
    subconverter
    Utility to convert between various
    subscription format. Shadowrocket users
    should use ss, ssr or v2ray as target.
    You can add &remark= to
    Telegram-liked HT...
    Download subconverter
  • 4
    SWASH
    SWASH
    SWASH is a general-purpose numerical
    tool for simulating unsteady,
    non-hydrostatic, free-surface,
    rotational flow and transport phenomena
    in coastal waters as ...
    Download SWASH
  • 5
    VBA-M (Archived - Now on Github)
    VBA-M (Archived - Now on Github)
    Project has moved to
    https://github.com/visualboyadvance-m/visualboyadvance-m
    Features:Cheat creationsave statesmulti
    system, supports gba, gbc, gb, sgb,
    sgb2Tu...
    Download VBA-M (Archived - Now on Github)
  • 6
    Stacer
    Stacer
    Linux System Optimizer and Monitoring
    Github Repository:
    https://github.com/oguzhaninan/Stacer.
    Audience: End Users/Desktop. User
    interface: Qt. Programming La...
    Download Stacer
  • More »

Linux commands

Ad