components/openstack/ironic/files/ironic-manifest.ksh
branchs11u3-sru
changeset 6035 c9748fcc32de
parent 4508 d8924d870370
equal deleted inserted replaced
6016:a477397bba8b 6035:c9748fcc32de
     1 #!/bin/ksh93
     1 #!/bin/ksh93
     2 
     2 
     3 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
     3 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
     4 #
     4 #
     5 #    Licensed under the Apache License, Version 2.0 (the "License"); you may
     5 #    Licensed under the Apache License, Version 2.0 (the "License"); you may
     6 #    not use this file except in compliance with the License. You may obtain
     6 #    not use this file except in compliance with the License. You may obtain
     7 #    a copy of the License at
     7 #    a copy of the License at
     8 #
     8 #
   398   file=$(/usr/bin/aimanifest add -r $swpath/source/file@uri $ARCHIVE_URI)
   398   file=$(/usr/bin/aimanifest add -r $swpath/source/file@uri $ARCHIVE_URI)
   399   if [[ -n "$AUTH_TOKEN" ]]; then
   399   if [[ -n "$AUTH_TOKEN" ]]; then
   400     /usr/bin/aimanifest add $file/credentials/http_auth_token $AUTH_TOKEN
   400     /usr/bin/aimanifest add $file/credentials/http_auth_token $AUTH_TOKEN
   401   fi
   401   fi
   402   inspath=$(/usr/bin/aimanifest add -r $swpath/software_data@action install)
   402   inspath=$(/usr/bin/aimanifest add -r $swpath/software_data@action install)
   403   /usr/bin/aimanifest add $inspath/name global
   403   /usr/bin/aimanifest add $inspath/name "*"
   404 fi
   404 fi
   405 
   405 
   406 if [[ -n "$PUBLISHERS" || -n "$FMRI" ]]; then
   406 if [[ -n "$PUBLISHERS" || -n "$FMRI" ]]; then
   407   if [[ -n "$ARCHIVE_URI" ]]; then
   407   if [[ -n "$ARCHIVE_URI" ]]; then
   408     # All software was removed, so add back stub IPS software
   408     # All software was removed, so add back stub IPS software