Project

General

Profile

Actions

Bug #13784

open

zoneadm clone does not respect "-m copy" parameter

Added by Stephan Althaus 9 months ago. Updated 9 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

zoneadm does not properly parse the command line parameters.

  1. zoneadm -z mail2 clone -m copy mail
    /usr/lib/brand/ipkg/clone: -m: unknown option

brand-specific usage: clone {sourcezone}
usage: clone [-m method] [-s <ZFS snapshot>] [brand-specific args] zonename
Clone the installation of another zone. The -m option can be used to
specify 'copy' which forces a copy of the source zone. The -s option
can be used to specify the name of a ZFS snapshot that was taken from
a previous clone command. The snapshot will be used as the source
instead of creating a new ZFS snapshot. All other arguments are passed
to the brand clone function; see brands(5) for more information.

Actions

Also available in: Atom PDF