-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
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
[Bitnami Lamp] How to locate full bitnami lamp image version from command line #1769
Comments
Hi @tacoma50, Google Marketplace only allows offering one version of a given product at a time, so it is not possible to launch previous versions. Regarding how to get the full image name of a given instance programmatically, you can either use the
This is the result I'm getting from a fresh server I have just started
You can find more information on this in the official Google docs at https://cloud.google.com/compute/docs/metadata/querying-metadata |
OK so that curl cmd works for my test-vm server, see output here: But I have another bitnami-lamp server called test2 that was not created from a google marketplace deployment, but it is was created from a machine image of the server test-vm above. When I run that cmd above, there is no output, as seen here: test2:$ curl -s "http://metadata.google.internal/computeMetadata/v1/instance/image" -H "Metadata-Flavor: Google" | cut -d'/' -f 5 That is the problem. For test-vm I can find the bitnami version from my google cloud dashboard, when I look at ComputeEngine VMs and look at the test-vm BOOT DISK image. |
I'm afraid we don't save that information into our images, but you can save it on first run if you need to (either in the |
Great idea...thanks! When you say put the bitnami version in in the properties.ini file, do you mean this file: Will this new entry cause any issues anywhere? Maybe you could consider adding this on future releases. |
I think you can add your own section at the end of the ini file to avoid conflicts with current settings (just in case).
Thanks for the suggestion. At this moment we do not have any plan on adding more information to the |
This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback. |
I can fine the base bitnami image version from the linux command line like this:
root@lamp-test-vm:/opt/bitnami# cat /opt/bitnami/properties.ini
[General]
base_stack_key=lampstack
base_stack_name=Bitnami package for LAMP
base_stack_version=8.2.25
installdir=/opt/bitnami
But how do I find the full release version such as bitnami-lampstack-8-2-25-r3-debian-12-amd64 from the command line?
Also, In Google cloud platform, is there a way to launch a specific version of the Bitnami LAMP solution?
The text was updated successfully, but these errors were encountered: