cloud-native-toolkit / software-everywhere

Automation modules to deploy IBM Software on IBM Cloud, AWS, and Azure
https://modules.cloudnativetoolkit.dev
Apache License 2.0
9 stars 9 forks source link

Synchronize launch scripts across all automation & sych container images #368

Closed triceam closed 2 years ago

triceam commented 2 years ago

Consistent docker image Consistent launch params (uid mapping)

triceam commented 2 years ago

Research" Can the dockerfile and multipass (cloud init script) both automatically source credentials, so its not needed in the launch script anymore?

something like this appended to .bashrc:

[[ -f "credentials.properties" ]] && source "credentials.properties"
triceam commented 2 years ago

Common launch.sh script updated in automation-solutions repo: https://github.com/cloud-native-toolkit/automation-solutions/blob/main/common-files/launch.sh

Updates included:

Launch script also updated in iascable: https://github.com/cloud-native-toolkit/iascable/pull/174

I've also updated the FS Cloud generation script, which includes this version, and also switches the default script to use the cli-tools-ibmcloud by removing the other image references. https://github.com/cloud-native-toolkit/automation-solutions/blob/main/boms/infrastructure/ibmcloud/openshift-fs/generate.sh#L62