diff --git a/server-cli/src/main/resources/brooklyn/default.catalog.bom b/server-cli/src/main/resources/brooklyn/default.catalog.bom index c5fecebd02..f5bc2a5a14 100644 --- a/server-cli/src/main/resources/brooklyn/default.catalog.bom +++ b/server-cli/src/main/resources/brooklyn/default.catalog.bom @@ -97,8 +97,8 @@ brooklyn.catalog: install.command: | # install python if not present which python || \ - { apt-get update && apt-get install python ; } || \ - { yum update && yum install python ; } || \ + { sudo apt-get update && sudo apt-get install python ; } || \ + { sudo yum update && sudo yum install python ; } || \ { echo WARNING: cannot install python && exit 1 ; } customize.command: | diff --git a/server-cli/src/main/resources/catalog.bom b/server-cli/src/main/resources/catalog.bom index c5fecebd02..f5bc2a5a14 100644 --- a/server-cli/src/main/resources/catalog.bom +++ b/server-cli/src/main/resources/catalog.bom @@ -97,8 +97,8 @@ brooklyn.catalog: install.command: | # install python if not present which python || \ - { apt-get update && apt-get install python ; } || \ - { yum update && yum install python ; } || \ + { sudo apt-get update && sudo apt-get install python ; } || \ + { sudo yum update && sudo yum install python ; } || \ { echo WARNING: cannot install python && exit 1 ; } customize.command: |