We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
% oci -v 3.54.1
I can't find an acceptable method to call update-all-packages. See below. I can however execute using raw-request.
update-all-packages
raw-request
oci raw-request --http-method POST --target-uri "https://osmh.us-ashburn-1.oci.oraclecloud.com/20220901/managedInstanceGroups/$GROUP_ID/actions/updateAllPackages" --request-body "$(cat <<EOF { "workRequestDetails":{"displayName":"KSplice only"}, "updateTypes":["KSPLICE_KERNEL","KSPLICE_USERSPACE"] } EOF )"
Below using OSMH CLI all fail.
oci os-management-hub managed-instance-group update-all-packages --group-id $GROUP_ID \ --work-request-details '{"displayName":"KSplice only"}' \ --update-types '["KSPLICE_KERNEL", "KSPLICE_USERSPACE"]' Error: Invalid value for '--update-types': invalid choice: ["KSPLICE_KERNEL", "KSPLICE_USERSPACE"]. (choose from SECURITY, BUGFIX, ENHANCEMENT, OTHER, KSPLICE_KERNEL, KSPLICE_USERSPACE, ALL)
oci os-management-hub managed-instance-group update-all-packages --group-id $GROUP_ID \ --work-request-details '{"displayName":"KSplice only"}' \ --update-types '["KSPLICE_KERNEL"]' Error: Invalid value for '--update-types': invalid choice: ["KSPLICE_KERNEL"]. (choose from SECURITY, BUGFIX, ENHANCEMENT, OTHER, KSPLICE_KERNEL, KSPLICE_USERSPACE, ALL)
oci os-management-hub managed-instance-group update-all-packages --group-id $GROUP_ID \ --work-request-details '{"displayName":"KSplice only"}' \ --update-types '"KSPLICE_KERNEL"' Error: Invalid value for '--update-types': invalid choice: "KSPLICE_KERNEL". (choose from SECURITY, BUGFIX, ENHANCEMENT, OTHER, KSPLICE_KERNEL, KSPLICE_USERSPACE, ALL)
oci os-management-hub managed-instance-group update-all-packages --group-id $GROUP_ID \ --work-request-details '{"displayName":"KSplice only"}' \ --update-types 'KSPLICE_KERNEL' Parameter 'update_types' must be in JSON format.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I can't find an acceptable method to call
update-all-packages
. See below. I can however execute usingraw-request
.This works
Below using OSMH CLI all fail.
Attempt 1
Attempt 2
Attempt 3
Attempt 4
The text was updated successfully, but these errors were encountered: