VirtualBox

Changeset 81007 in vbox


Ignore:
Timestamp:
Sep 25, 2019 2:19:24 PM (5 years ago)
Author:
vboxsync
Message:

bugref:9577. Added 2 chapters into the user manual - \'Importing an instance from Oracle Cloud Infrastructure\' and \'Import from Oracle Cloud Infrastructure\'.

Location:
trunk/doc/manual/en_US
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manual/en_US/user_Introduction.xml

    r76786 r81007  
    25832583          <emphasis role="bold">Cloud service formats.</emphasis> Export
    25842584          to cloud services such as &oci; is supported. Import is not
    2585           supported. See <xref linkend="ovf-export-oci"/>.
     2585          supported. See <xref linkend="cloud-export-oci"/>.
    25862586        </para>
    25872587      </listitem>
     
    28532853              <para>
    28542854                The <emphasis role="bold">&oci;</emphasis> value exports
    2855                 export to &oci;. See <xref linkend="ovf-export-oci"/>.
     2855                export to &oci;. See <xref linkend="cloud-export-oci"/>.
    28562856              </para>
    28572857            </listitem>
     
    29272927    </sect2>
    29282928
    2929     <sect2 id="ovf-export-oci">
     2929    <sect2 id="cloud-export-oci">
    29302930
    29312931      <title>Exporting an Appliance to &oci;</title>
     
    31633163    </sect2>
    31643164
     3165    <sect2 id="cloud-import-oci">
     3166
     3167      <title>Importing an instance from &oci;</title>
     3168
     3169      <para>
     3170        &product-name; supports the import of cloud instance from an &oci; service.
     3171      </para>
     3172
     3173      <para>
     3174        Before you can import an instance from &oci;, ensure that you perform the
     3175        following configuration steps:
     3176      </para>
     3177
     3178      <itemizedlist>
     3179
     3180        <listitem>
     3181          <para>
     3182            Generate an API signing key pair that is used for API
     3183            requests to &oci;.
     3184          </para>
     3185
     3186          <itemizedlist>
     3187
     3188            <listitem>
     3189              <para>
     3190                The key pair is usually installed in the
     3191                <computeroutput>.oci</computeroutput> folder in your
     3192                home directory. For example,
     3193                <computeroutput>~/.oci</computeroutput> on a Linux
     3194                system.
     3195              </para>
     3196            </listitem>
     3197
     3198            <listitem>
     3199              <para>
     3200                Upload the public key of the key pair to the cloud
     3201                service.
     3202              </para>
     3203            </listitem>
     3204
     3205          </itemizedlist>
     3206
     3207          <para>
     3208            For step-by-step instructions for creating and uploading an
     3209            API signing key for &oci;, see:
     3210          </para>
     3211
     3212          <para>
     3213            <ulink url="https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#How">https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#How</ulink>
     3214          </para>
     3215        </listitem>
     3216
     3217        <listitem>
     3218          <para>
     3219            Create a profile for your cloud account.
     3220          </para>
     3221
     3222          <para>
     3223            The cloud profile contains resource identifiers for your
     3224            cloud account, such as your user OCID, and the fingerprint
     3225            for your public key. You can create a cloud profile in the
     3226            following ways:
     3227          </para>
     3228
     3229          <itemizedlist>
     3230
     3231            <listitem>
     3232              <para>
     3233                Automatically by using the <emphasis role="bold">Cloud
     3234                Profile Manager</emphasis>. See
     3235                <xref linkend="ovf-cloud-profile-manager"/>.
     3236              </para>
     3237            </listitem>
     3238
     3239            <listitem>
     3240              <para>
     3241                Manually by creating an
     3242                <computeroutput>oci_config</computeroutput> file in your
     3243                &product-name; global configuration directory. For
     3244                example, this is
     3245                <computeroutput>$HOME/.config/VirtualBox/oci_config</computeroutput>
     3246                on a Linux host.
     3247              </para>
     3248            </listitem>
     3249
     3250            <listitem>
     3251              <para>
     3252                Manually by creating a
     3253                <computeroutput>config</computeroutput> file in your
     3254                &oci; configuration directory. For example, this is
     3255                <computeroutput>$HOME/.oci/config</computeroutput> on a
     3256                Linux host.
     3257              </para>
     3258
     3259              <para>
     3260                This is the same file that is used by the &oci; command
     3261                line interface.
     3262              </para>
     3263
     3264              <para>
     3265                &product-name; automatically uses the
     3266                <computeroutput>config</computeroutput> file if no cloud
     3267                profile file is present in your global configuration
     3268                directory. Alternatively, you can import this file
     3269                manually into the Cloud Profile Manager.
     3270              </para>
     3271            </listitem>
     3272
     3273          </itemizedlist>
     3274
     3275          <para>
     3276            For more information about the cloud profile settings used
     3277            by &oci; see:
     3278          </para>
     3279
     3280          <para>
     3281            <ulink url="https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdkconfig.htm">https://docs.cloud.oracle.com/iaas/Content/API/Concepts/sdkconfig.htm</ulink>
     3282          </para>
     3283        </listitem>
     3284
     3285      </itemizedlist>
     3286
     3287      <para>
     3288        Perform the following steps to import an instance from &oci;:
     3289      </para>
     3290
     3291      <orderedlist>
     3292
     3293        <listitem>
     3294          <para>
     3295            Select <emphasis role="bold">File</emphasis>,
     3296            <emphasis role="bold">Import Appliance</emphasis> to open
     3297            the <emphasis role="bold">Import Virtual Appliance</emphasis> wizard.
     3298          </para>
     3299
     3300          <para>
     3301            In the <emphasis role="bold">Account</emphasis> drop-down
     3302            list, select your &oci; account.
     3303          </para>
     3304
     3305          <para>
     3306            You can set up &oci; accounts by using the Cloud Profile
     3307            Manager.
     3308          </para>
     3309
     3310          <para>
     3311            The list after the <emphasis role="bold">Account</emphasis>
     3312            field shows the profile settings for your cloud account.
     3313          </para>
     3314
     3315          <para>
     3316            Choose the interesting cloud instance from the list <emphasis role="bold">Machines</emphasis>.
     3317          </para>
     3318
     3319          <para>
     3320            Click <emphasis role="bold">Next</emphasis>
     3321            to make an API request to the &oci; service and open the <emphasis role="bold">Appliance Settings</emphasis> screen.
     3322          </para>
     3323        </listitem>
     3324
     3325        <listitem>
     3326          <para>
     3327            Optionally edit settings used for new local virtual machine.
     3328          </para>
     3329
     3330          <para>
     3331            For example, you can edit the VM name, CPUs, RAM memory, OS type, OS version.
     3332          </para>
     3333
     3334          <para>
     3335            Click <emphasis role="bold">Import</emphasis> to import the instance from the cloud service.
     3336          </para>
     3337        </listitem>
     3338
     3339        <listitem>
     3340          <para>
     3341            Monitor the import process by using the &oci; Console.
     3342          </para>
     3343        </listitem>
     3344
     3345      </orderedlist>
     3346
     3347      <para>
     3348        General OCI import logic:
     3349      </para>
     3350      <orderedlist>
     3351        <listitem>
     3352          <para>
     3353            A custom image created from the boot volume of the instance.
     3354          </para>
     3355        </listitem>
     3356        <listitem>
     3357          <para>
     3358            The custom image exported into OCI object and stored in the OCI Object Storage in the bucket pointed by user.
     3359          </para>
     3360        </listitem>
     3361        <listitem>
     3362          <para>
     3363            The OCI object is downloaded to the local host. OCI object is a TAR archive which contains a boot volume of instance
     3364            in QCOW2 format and JSON file with some meta-data related to the instance.
     3365          </para>
     3366        </listitem>
     3367        <listitem>
     3368          <para>
     3369            The boot volume of instance is extracted from the archive and new VMDK image is created by conversion the boot volume
     3370            into the VMDK format. The VMDK image is registered in the VirtualBox.
     3371          </para>
     3372        </listitem>
     3373        <listitem>
     3374          <para>
     3375            New VM is created with the VMDK image created on the previous step.
     3376          </para>
     3377        </listitem>
     3378        <listitem>
     3379          <para>
     3380            The downloaded OCI object (TAR archive) is deleted after successful import.
     3381          </para>
     3382        </listitem>
     3383      </orderedlist>
     3384      <para>
     3385        By default, the VM isn't launched after import from &oci;.
     3386      </para>
     3387
     3388      <para>
     3389        You can also use the <command>VBoxManage import</command>
     3390        command to import an instance from &oci;. See
     3391        <xref linkend="vboxmanage-import-cloud"/>.
     3392      </para>
     3393
     3394    </sect2>
     3395
    31653396    <sect2 id="ovf-cloud-profile-manager">
    31663397
  • trunk/doc/manual/en_US/user_VBoxManage.xml

    r80756 r81007  
    481481        <para>
    482482          Cloud profiles are used when exporting VMs to a cloud service.
    483           See <xref linkend="ovf-export-oci"/>.
     483          See <xref linkend="cloud-export-oci"/>.
    484484        </para>
    485485      </listitem>
     
    26342634
    26352635    <para>
    2636       This command imports a virtual appliance in OVF format by copying
    2637       the virtual disk images and creating virtual machines in
    2638       &product-name;. See <xref linkend="ovf" /> for an introduction to
    2639       appliances.
    2640     </para>
    2641 
    2642     <para>
    2643       The <command>import</command> subcommand takes at least the path
    2644       name of an OVF file as input and expects the disk images, if
    2645       needed, in the same directory as the OVF file. A lot of additional
    2646       command-line options are supported to control in detail what is
    2647       being imported and modify the import parameters, but the details
    2648       depend on the content of the OVF file.
    2649     </para>
    2650 
    2651     <para>
    2652       It is therefore recommended to first run the
    2653       <command>import</command> subcommand with the
    2654       <computeroutput>--dry-run</computeroutput> or
    2655       <computeroutput>-n</computeroutput> option. This will then print a
    2656       description of the appliance's contents to the screen how it would
    2657       be imported into &product-name;, together with the optional
    2658       command-line options to influence the import behavior.
    2659     </para>
    2660 
    2661     <para>
    2662       Use of the <computeroutput>--options
    2663       keepallmacs|keepnatmacs|keepdisknames</computeroutput> option
    2664       enables additional fine tuning of the clone operation. The first
    2665       two options enable specification of how the MAC addresses of every
    2666       virtual network card should be handled. They can either be
    2667       reinitialized, which is the default setting, left unchanged
    2668       (<computeroutput>keepallmacs</computeroutput>) or left unchanged
    2669       when the network type is NAT
    2670       (<computeroutput>keepnatmacs</computeroutput>). If you add
    2671       <computeroutput>keepdisknames</computeroutput> all new disk images
    2672       are assigned the same names as the originals, otherwise they are
    2673       renamed.
    2674     </para>
    2675 
    2676     <para>
    2677       As an example, the following is a screen output for a sample
    2678       appliance containing a Windows XP guest:
    2679     </para>
    2680 
    2681 <screen>VBoxManage import WindowsXp.ovf --dry-run
    2682 Interpreting WindowsXp.ovf...
    2683 OK.
    2684 Virtual system 0:
    2685  0: Suggested OS type: "WindowsXP"
    2686     (change with "--vsys 0 --ostype &lt;type&gt;"; use "list ostypes" to list all)
    2687  1: Suggested VM name "Windows XP Professional_1"
    2688     (change with "--vsys 0 --vmname &lt;name&gt;")
    2689  2: Suggested VM group "/"
    2690     (change with "--vsys 0 --group &lt;group&gt;")
    2691  3: Suggested VM settings file name "/home/klaus/VirtualBox VMs/dummy2 2/dummy2 2.vbox"
    2692     (change with "--vsys 0 --settingsfile &lt;filename&gt;")
    2693  4: Suggested VM base folder "/home/klaus/VirtualBox VMs"
    2694     (change with "--vsys 0 --basefolder &lt;path&gt;")
    2695  5: End-user license agreement
    2696     (display with "--vsys 0 --eula show";
    2697     accept with "--vsys 0 --eula accept")
    2698  6: Number of CPUs: 1
    2699     (change with "--vsys 0 --cpus &lt;n&gt;")
    2700  7: Guest memory: 956 MB (change with "--vsys 0 --memory &lt;MB&gt;")
    2701  8: Sound card (appliance expects "ensoniq1371", can change on import)
    2702     (disable with "--vsys 0 --unit 5 --ignore")
    2703  9: USB controller
    2704     (disable with "--vsys 0 --unit 6 --ignore")
    2705 10: Network adapter: orig bridged, config 2, extra type=bridged
    2706 11: Floppy
    2707     (disable with "--vsys 0 --unit 8 --ignore")
    2708 12: SCSI controller, type BusLogic
    2709     (change with "--vsys 0 --unit 9 --scsitype {BusLogic|LsiLogic}";
    2710     disable with "--vsys 0 --unit 9 --ignore")
    2711 13: IDE controller, type PIIX4
    2712     (disable with "--vsys 0 --unit 10 --ignore")
    2713 14: Hard disk image: source image=WindowsXp.vmdk,
    2714       target path=/home/user/disks/WindowsXp.vmdk, controller=9;channel=0
    2715     (change controller with "--vsys 0 --unit 11 --controller &lt;id&gt;";
    2716     disable with "--vsys 0 --unit 11 --ignore")</screen>
    2717 
    2718     <para>
    2719       The individual configuration items are numbered, and depending on
    2720       their type support different command-line options. The import
    2721       subcommand can be directed to ignore many such items with a
    2722       <computeroutput>--vsys X --unit Y --ignore</computeroutput>
    2723       option, where X is the number of the virtual system and Y the item
    2724       number, as printed on the screen. X is zero, unless there are
    2725       several virtual system descriptions in the appliance.
    2726     </para>
    2727 
    2728     <para>
    2729       In the above example, Item #1 specifies the name of the target
    2730       machine in &product-name;. Items #9 and #10 specify hard disk
    2731       controllers, respectively. Item #11 describes a hard disk image.
    2732       In this case, the additional
    2733       <computeroutput>--controller</computeroutput> option indicates
    2734       which item the disk image should be connected to, with the default
    2735       coming from the OVF file.
    2736     </para>
    2737 
    2738     <para>
    2739       You can combine several items for the same virtual system behind
    2740       the same <computeroutput>--vsys</computeroutput> option. For
    2741       example, to import a machine as described in the OVF, but without
    2742       the sound card and without the USB controller, and with the disk
    2743       image connected to the IDE controller instead of the SCSI
    2744       controller, use the following command:
    2745     </para>
    2746 
    2747 <screen>VBoxManage import WindowsXp.ovf
    2748       --vsys 0 --unit 5 --ignore --unit 6 --ignore --unit 11 --controller 10</screen>
     2636      This command import one or more virtual machines to
     2637      &product-name;. You can import from either of the following:
     2638    </para>
     2639
     2640    <itemizedlist>
     2641
     2642      <listitem>
     2643        <para>
     2644          A virtual appliance in OVF format.
     2645        </para>
     2646      </listitem>
     2647
     2648      <listitem>
     2649        <para>
     2650          A cloud service, such as &oci;. Only a single cloud instance can be imported.
     2651        </para>
     2652      </listitem>
     2653
     2654    </itemizedlist>
     2655
     2656    <para>
     2657      See <xref linkend="ovf" /> for more details on importing VMs from
     2658      &product-name;.
     2659    </para>
     2660
     2661    <sect2 id="vboxmanage-import-ovf">
     2662
     2663      <title>Import from OVF</title>
     2664
     2665      <para>
     2666        The <command>import</command> subcommand takes at least the path
     2667        name of an OVF file as input and expects the disk images, if
     2668        needed, in the same directory as the OVF file. A lot of additional
     2669        command-line options are supported to control in detail what is
     2670        being imported and modify the import parameters, but the details
     2671        depend on the content of the OVF file.
     2672      </para>
     2673
     2674      <para>
     2675        It is therefore recommended to first run the
     2676        <command>import</command> subcommand with the
     2677        <computeroutput>--dry-run</computeroutput> or
     2678        <computeroutput>-n</computeroutput> option. This will then print a
     2679        description of the appliance's contents to the screen how it would
     2680        be imported into &product-name;, together with the optional
     2681        command-line options to influence the import behavior.
     2682      </para>
     2683
     2684      <para>
     2685        Use of the <computeroutput>--options
     2686        keepallmacs|keepnatmacs|keepdisknames</computeroutput> option
     2687        enables additional fine tuning of the clone operation. The first
     2688        two options enable specification of how the MAC addresses of every
     2689        virtual network card should be handled. They can either be
     2690        reinitialized, which is the default setting, left unchanged
     2691        (<computeroutput>keepallmacs</computeroutput>) or left unchanged
     2692        when the network type is NAT
     2693        (<computeroutput>keepnatmacs</computeroutput>). If you add
     2694        <computeroutput>keepdisknames</computeroutput> all new disk images
     2695        are assigned the same names as the originals, otherwise they are
     2696        renamed.
     2697      </para>
     2698
     2699      <para>
     2700        As an example, the following is a screen output for a sample
     2701        appliance containing a Windows XP guest:
     2702      </para>
     2703
     2704      <screen>VBoxManage import WindowsXp.ovf --dry-run
     2705      Interpreting WindowsXp.ovf...
     2706      OK.
     2707      Virtual system 0:
     2708       0: Suggested OS type: "WindowsXP"
     2709          (change with "--vsys 0 --ostype &lt;type&gt;"; use "list ostypes" to list all)
     2710       1: Suggested VM name "Windows XP Professional_1"
     2711          (change with "--vsys 0 --vmname &lt;name&gt;")
     2712       2: Suggested VM group "/"
     2713          (change with "--vsys 0 --group &lt;group&gt;")
     2714       3: Suggested VM settings file name "/home/klaus/VirtualBox VMs/dummy2 2/dummy2 2.vbox"
     2715          (change with "--vsys 0 --settingsfile &lt;filename&gt;")
     2716       4: Suggested VM base folder "/home/klaus/VirtualBox VMs"
     2717          (change with "--vsys 0 --basefolder &lt;path&gt;")
     2718       5: End-user license agreement
     2719          (display with "--vsys 0 --eula show";
     2720          accept with "--vsys 0 --eula accept")
     2721       6: Number of CPUs: 1
     2722          (change with "--vsys 0 --cpus &lt;n&gt;")
     2723       7: Guest memory: 956 MB (change with "--vsys 0 --memory &lt;MB&gt;")
     2724       8: Sound card (appliance expects "ensoniq1371", can change on import)
     2725          (disable with "--vsys 0 --unit 5 --ignore")
     2726       9: USB controller
     2727          (disable with "--vsys 0 --unit 6 --ignore")
     2728      10: Network adapter: orig bridged, config 2, extra type=bridged
     2729      11: Floppy
     2730          (disable with "--vsys 0 --unit 8 --ignore")
     2731      12: SCSI controller, type BusLogic
     2732          (change with "--vsys 0 --unit 9 --scsitype {BusLogic|LsiLogic}";
     2733          disable with "--vsys 0 --unit 9 --ignore")
     2734      13: IDE controller, type PIIX4
     2735          (disable with "--vsys 0 --unit 10 --ignore")
     2736      14: Hard disk image: source image=WindowsXp.vmdk,
     2737            target path=/home/user/disks/WindowsXp.vmdk, controller=9;channel=0
     2738          (change controller with "--vsys 0 --unit 11 --controller &lt;id&gt;";
     2739          disable with "--vsys 0 --unit 11 --ignore")</screen>
     2740
     2741      <para>
     2742        The individual configuration items are numbered, and depending on
     2743        their type support different command-line options. The import
     2744        subcommand can be directed to ignore many such items with a
     2745        <computeroutput>--vsys X --unit Y --ignore</computeroutput>
     2746        option, where X is the number of the virtual system and Y the item
     2747        number, as printed on the screen. X is zero, unless there are
     2748        several virtual system descriptions in the appliance.
     2749      </para>
     2750
     2751      <para>
     2752        In the above example, Item #1 specifies the name of the target
     2753        machine in &product-name;. Items #9 and #10 specify hard disk
     2754        controllers, respectively. Item #11 describes a hard disk image.
     2755        In this case, the additional
     2756        <computeroutput>--controller</computeroutput> option indicates
     2757        which item the disk image should be connected to, with the default
     2758        coming from the OVF file.
     2759      </para>
     2760
     2761      <para>
     2762        You can combine several items for the same virtual system behind
     2763        the same <computeroutput>--vsys</computeroutput> option. For
     2764        example, to import a machine as described in the OVF, but without
     2765        the sound card and without the USB controller, and with the disk
     2766        image connected to the IDE controller instead of the SCSI
     2767        controller, use the following command:
     2768      </para>
     2769
     2770      <screen>VBoxManage import WindowsXp.ovf
     2771            --vsys 0 --unit 5 --ignore --unit 6 --ignore --unit 11 --controller 10</screen>
     2772    </sect2>
     2773
     2774    <sect2 id="vboxmanage-import-cloud">
     2775      <title>Import from &oci;</title>
     2776      <para>
     2777        As the result of operation a file with the suffix “.oci” will be downloaded on the local host.
     2778        This file is a TAR archive which contains a bootable instance image in QCOW2 format and a JSON file with some metadata
     2779        related to the imported instance. The downloaded file is deleted after successful import. If import fails the VBoxSVC log file
     2780        may hint a name and place where the downloaded file was stored (in case of failure the file may not be deleted).
     2781        During import the bootable image is extracted from the archive and converted into VMDK format. The JSON file is also extracted
     2782        and stored in the VM folder.
     2783      </para>
     2784      <para>
     2785        The command syntax begins from the "VBoxManage import OCI:// --cloud".
     2786      </para>
     2787      <para>
     2788        List the machines and their ids from Oracle Cloud Infrastructure using the command "VBoxManage cloud --provider=OCI
     2789        --profile="your profile name" list instances".
     2790      </para>
     2791      <para>
     2792        To import a VM from a cloud service such as Oracle Cloud Infrastructure, use the <option>--cloud</option> option to specify the
     2793        import from the Cloud. Some of the following options are settings for the VM. Somewhere you must enter an Oracle Cloud Identifier (OCID)
     2794        for a resource. Use the Oracle Cloud Infrastructure Console to view OCIDs.
     2795      </para>
     2796      <para>
     2797        Next parameters must be followed:
     2798        <itemizedlist>
     2799          <listitem>
     2800            <para>
     2801              <option>--vmname</option>: Specifies new name for imported VM. This name is used as the VM name in VirtualBox.
     2802            </para>
     2803          </listitem>
     2804          <listitem>
     2805            <para>
     2806              <option>--cloudinstanceid</option>: Id of existing instance in the Cloud.
     2807            </para>
     2808          </listitem>
     2809          <listitem>
     2810            <para>
     2811              <option>--cloudprofile</option>: Specifies the cloud profile that is used to connect to the cloud service provider.
     2812              The cloud profile contains your Oracle Cloud Infrastructure account details, such as your user OCID and the fingerprint for your public key.
     2813              To use a cloud profile, you must have the required permissions on Oracle Cloud Infrastructure.
     2814            </para>
     2815          </listitem>
     2816          <listitem>
     2817            <para>
     2818              <option>--cloudbucket</option>: Specifies the bucket name in which to store the object created from an instance bootable volume.
     2819              In Oracle Cloud Infrastructure, a bucket is a logical container for storing objects.
     2820            </para>
     2821          </listitem>
     2822        </itemizedlist>
     2823      </para>
     2824      <para>
     2825        Some other import options have the same meaning as for OVF import:
     2826        <itemizedlist>
     2827          <listitem>
     2828            <para>
     2829              <option>--ostype</option>: OS type supported by VirtualBox. Use "VBoxManage list ostypes" to see the whole list of supported OSes.
     2830              If the type wasn't set the "Unknown" type will be used.
     2831            </para>
     2832          </listitem>
     2833          <listitem>
     2834            <para>
     2835              <option>--basefolder</option>: folder where new VM will be placed.
     2836            </para>
     2837          </listitem>
     2838          <listitem>
     2839            <para>
     2840              <option>--description</option>: VM description string.
     2841            </para>
     2842          </listitem>
     2843          <listitem>
     2844            <para>
     2845              <option>--memory</option>: RAM memory assigned for VM in MB.
     2846              If memory wasn't set the possible memory size will be deduced from the default memory size for this OS type or will be taken from the cloud instance.
     2847            </para>
     2848          </listitem>
     2849          <listitem>
     2850            <para>
     2851              <option>--cpus</option>: Number of virtual CPUs assigned for VM.
     2852              If cpus wasn't set the possible number of CPUs will be deduced from the default settings for this OS type or will be taken from the cloud instance.
     2853            </para>
     2854          </listitem>
     2855        </itemizedlist>
     2856      </para>
     2857      <para>
     2858        The import options <option>--disk</option>, <option>--controller</option>, <option>--scsitype</option>, <option>--unit</option>,
     2859        <option>--settingsfile</option> are invalid for cloud import.
     2860      </para>
     2861      <para>
     2862        The following example shows a typical command line for import an instance from Oracle Cloud Infrastructure:
     2863      </para>
     2864        <screen>
     2865        # VBoxManage import OCI:// --cloud --vmname import_from_oci --memory 4000
     2866        --cpus 3 --ostype FreeBSD_64 --cloudprofile "standard user" --cloudinstanceid
     2867        ocid1.instance.oc1.iad.abuwc... --cloudbucket myBucket
     2868        </screen>
     2869
     2870    </sect2>
    27492871
    27502872  </sect1>
     
    29043026            provider. The cloud profile contains your &oci; account
    29053027            details, such as your user OCID and the fingerprint for your
    2906             public key. See <xref linkend="ovf-export-oci"/>.
     3028            public key. See <xref linkend="cloud-export-oci"/>.
    29073029          </para>
    29083030
     
    30073129      </remark>
    30083130
    3009 <screen># VBoxManage export myVM --output OCI:// --cloud 0 --vmname myVM_Cloud \
    3010 --cloudprofile "standard user" --cloudbucket myBucket \
    3011 --cloudshape VM.Standard2.1 --clouddomain aaaa:US-ASHBURN-AD-1 --clouddisksize 50  \
    3012 --cloudocivcn ocid1.vcn.oc1.iad.aaaa... --cloudocisubnet ocid1.subnet.oc1.iad.aaaa... \
     3131<screen># VBoxManage export myVM --output OCI:// --cloud 0 --vmname myVM_Cloud
     3132--cloudprofile "standard user" --cloudbucket myBucket
     3133--cloudshape VM.Standard2.1 --clouddomain aaaa:US-ASHBURN-AD-1 --clouddisksize 50
     3134--cloudocivcn ocid1.vcn.oc1.iad.aaaa... --cloudocisubnet ocid1.subnet.oc1.iad.aaaa...
    30133135--cloudkeepobject true --cloudlaunchinstance true --cloudpublicip true</screen>
    30143136
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette