﻿delete
Description

Enables you to delete both selected and nonselected baselines, nodes, or both from the current session. You cannot delete a baseline if it is assigned to a node, and you cannot delete a baseline or node performing a function on the node.

Syntax

smartupdate delete [--nodes [nodelist]]

smartupdate delete [--baselines [baselinelist]]

Parameters/Options/Flags/Strings/...

--nodes [nodelist]
Object to perform the delete operation. Delimit the list with a space. If you do not provide a nodelist, all nodes are deleted.

--baselines [baselinelist]
Object to perform the delete operation. Delimit the list with a space. If you do not provide a list of baselines, all baselines are deleted.

--baselines <install_set_name> node=<node IP>

Delete an install set saved on an iLO Repository. Provide the install set name and the iLO IP address. SUM cannot delete a locked install set.

Restrictions

Do not delete a baseline and node in the same command.

Windows usage

C:\> smartupdate delete /baselines "spp.2012.01"

C:\> smartupdate delete /nodes 10.0.0.1

Linux usage

$ ./smartupdate delete --baselines "spp.2012.01"

$ ./smartupdate delete --nodes 10.0.0.1

Return codes
SUCCESS_NO_REBOOT
Windows: 0

Linux: 0

Text: The command was successful.

SUCCESS_REBOOT
Windows: 1

Linux: 1

Text: The command was successful but a reboot is required.

SUCCESS_NOT_REQUIRED
Windows: 3

Linux: 3

Text: The command completed successfully, but was not required or everything was already current.

FAILURE_GENERAL
Windows: -1

Linux: 255

Text: A general failure occurred. For details, see the logs.

FAILURE_BAD_PARM
Windows: -2

Linux: 254

Text: A bad input parameter was encountered. For details, see the logs.

FAILURE_COMPONENT_FAILED
Windows: -3

Linux: 253

Text: The installation of the component failed.

FAILURE_COMMAND_FAILED
Windows: -4

Linux: 252

Text: The command failed. For details, see the logs.