This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
fco
mdaneri edited this page May 22, 2019
·
3 revisions
Import and Copy First Class Objects.
Usage:
fco -help fco -cbt <on|off> [-dryrun] fco -import [-host <name>] [-datacenter <name>] [-datastore <name>] [-url <url>] [-folder <name|path>] [-respool <name|path>] [-network <name,..,name>] [-vim <vcenter>] [-dryrun] [-poweron] [-novmdk] fco -clone [-datastore <name>] [-vim <vcenter>] [-dryrun] [-poweron] fco -remove [-force] [-vim <vcenter>] [-dryrun]
Arguments:
-help Help -cbt <on|off> Enable disable Change Block Tracking -import Import an OVF. -clone Clone a First Class Object -remove Remove the First Class Object. -name <name> Name for the imported <EnyityType> -host <name> VMware ESX host vim object name to use as import target. -datacenter <name> Datacenter - vim object name to use as import target -datastore <name> Datastore - vim object name to use as import target. -url <url> Source url. -force Force the operation. -folder <name|path> Virtual Machine Folder vim object name to use as import target. <name> vmfolder name <path> vmfolder path <Datacenter>/vm/<parent>/../<name> -respool <name|path> Resource Pool vim object name to use as import target. <name> resource pool name <path> resource path SDDC-Datacenter/host/<cluster>/Resources/Compute-ResourcePool/..<name> -network <name,..,name> Reconfigure VM network to the new specified backend starting from vm eth0 to eth9. -vim <vcenter> Target a specific vim service <vim> (uuid,url) -dryrun Do not do anything. -poweron PowerOn virtual machine after import -novmdk Exclude VMDK contents.
Examples:
fco clone vapp:testVapp name test vim 9a583042-cb9d-5673-cbab-56a02a91805d Clone the virtualApp to a new vApp named test on vCenter 9a583042-cb9d-5673-cbab-56a02a91805d
fco remove force vapp:testVapp vm:vm-123 Delete the vapp:testVapp and the vm (moref vm-123) , forcing a poweroff if On