Closed triceam closed 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"
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:
credentials.properties
format that works for both multipass (vm, includes export
statements), and docker env vars-u ${uid}
parameters to alleviate permission issuesLaunch 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
Consistent docker image Consistent launch params (uid mapping)