system node image get

Fetch a file from a URL

Availability: This command is available to cluster administrators at the admin privilege level.

Description

This command fetches a file from the specified URL and stores it in the /mroot/etc/software directory.

Parameters

[-node {<nodename>|local}] - Node
This parameter specifies the node that fetches and stores the package.
-package <text> - Package URL
This parameter specifies the URL that provides the location of the package to be fetched. Standard URL schemes, including HTTP, FTP and FILE, are accepted.
[-replace-package [true]] - Replace the Local File
Specifies whether an existing package is deleted and replaced with a new package. If you enter this command without using this parameter, its effective value is false and an existing package is not replaced with the new one. If you enter this parameter without a value, it is set to true and an existing package is replaced with the new one.
[-rename-package <text>] - Rename the File
Use this parameter to enter a package name that is different than the file name in the URL.
[-background [true]] - Run in the background
This parameter allows the operation to run in the background. The progress of the operation can be checked with the command system image show-update-progress. If this command is entered without using this parameter, its effective value is false and the operation runs in the foreground. If this parameter is used without a value, it is set to true.

Examples

system image get http://example.com/image.tgz -rename-package image2.tgz -replace-package